API Translation. C to VB?

Agent
04-19-2002, 09:06 PM
ICQAPICall_SendFile

BOOL WINAPI ICQAPICall_SendFile(int iUIN, char *pszFileNames);

In (Arguments):iUIN, pszFileNames
iUIN - the user ICQ# to which the files should be sent.
pszFileNames - a list of file names separated by commas.
Data (Returns): None
Description: The fucntion opens ICQ’s send file dialog, with the selected user and files.

Right now I have...Public Declare Function SendFile Lib "icqmapi.dll" Alias "ICQAPICall_SendFile" (ByRef iUIN _
As Integer, ByVal pszFileNames _
As String) As Boolean But I need to pass a number that is actually a Long number. So this isn't working. Any ideas?

Derek Stone
04-19-2002, 09:27 PM
The int C type translates to the VB long type.

Good Luck
-CL

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum