Hi,
I encountered the following in the latest win32api.inc file.
When I use this as they are I get very weird results. However when I change it to the following
There are no problems.
Any ideas. I think all the ones that state AS ANY should be changed to
AS DWORD except for the SysAllocString
------------------
I encountered the following in the latest win32api.inc file.
Code:
DECLARE FUNCTION SysAllocString LIB "OLEAUT32.DLL" ALIAS "SysAllocString" (sz AS ANY) AS DWORD DECLARE FUNCTION SysStringLen LIB "OLEAUT32.DLL" ALIAS "SysStringLen" (bstr AS ANY) AS DWORD
Code:
DECLARE FUNCTION SysAllocString LIB "OLEAUT32.DLL" ALIAS "SysAllocString" (sz AS ASCIIZ) AS DWORD DECLARE FUNCTION SysStringLen LIB "oleaut32.DLL" ALIAS "SysStringLen" (BYVAL hBSTR AS DWORD) AS DWORD
Any ideas. I think all the ones that state AS ANY should be changed to
AS DWORD except for the SysAllocString
------------------
Comment