T
SideWinder schrieb:
Öhm, und wo ist der Speicher für argv?
Steht doch alles in der Doku:
Return Values
If the function succeeds, the return value is a non-NULL pointer to the constructed argument list, which is an array of Unicode strings.
If the function fails, the return value is NULL. To get extended error information, call GetLastError.
Remarks
It is the caller's responsibility to free the memory used by the argument list when it is no longer needed. To free the memory, use a single call to the GlobalFree function.