I tidied the code from a post made by KaFu. The code is fully working in both x32 & x64. I also used _CmdLineRaw() to parse $CmdLineRaw to an Array.
Function: Version 11 (20/07/2014)
#AutoIt3Wrapper_Au3Check_Parameters=-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w 7
Global Const $tagCOPYDATASTRUCT = 'ulong_ptr dwData;' & _
'dword cbData;' & _
Global $IPC_GUID = 'E2