Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Help with VBA Type statement | Excel Programming | |||
IF statement based on data type | Excel Worksheet Functions | |||
Case when statement gives type mismatch | Excel Programming | |||
Type mismatch while running If statement | Excel Programming | |||
declare type and value on one line? | Excel Programming |