Hi,
I have a dll. I want to use a function in the dll on Excel VBA.
The fuction is below.
int GetDiskSpaceLeft(DWORD dwID, LONGLONG *lpllSpace);
If this were "int GetDiskSpaceLeft(DWORD dwID, LONG *lpllSpace);",
I knew how to use that.
Private Declare Function GetDiskSpaceLeft lib 'xx.dll' (ByVal dwID as Long,
ByRef lSpace as Long)
However it's not "Long", but "LongLong"
How can I use the dll function?
Bookmarks