DLL procedure declaration in VB6
Posted on 1999-01-22
In my program I have to use a DLL (abc.dll) that contains the following procedure
DWORD linkreceive(HANDLE link, DWORD *command, char *arg)
I declared this function in VB6 as
Declare Function Receive lib "abc.dll" alias "linkreceive"
(link as long, ????????, arg as string) as long
What type declaration should be placed on the question marks. So which type uses VB6 for a DWORD* ? and should it be ByVal or ByRef ?