"Martin Fuchs" martin-fuchs@gmx.net writes:
Changelog: correct parameter type for SafeArrayCreateVector() and SafeArrayCreateVectorEx() from ULONG to UINT
The Microsoft headers have ULONG here, what headers are you using?
Changelog: correct parameter type for SafeArrayCreateVector() and
SafeArrayCreateVectorEx() from ULONG to UINT
The Microsoft headers have ULONG here, what headers are you using?
Yes, you are right. In the headers there is "ULONG". I looked in the MSDN documentation: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/automat/htm...
There it's defined as: SAFEARRAY* SafeArrayCreateVector( VARTYPE vt, long lLbound, unsigned int cElements );
I guess the docu is wrong, since the second parameter is also "long". So please forget the patch. Seems it is better to correct the W32API headers.
Regards,
Martin