David Laplante
May 5th, 2000, 07:19 AM
I am trying to use the icq api but am getting this error message when I try to use one of the function.
The function set wich of MY functions (In my app) will be called when a certain notification from ICQ arrives...
here goes..
Now the documentation for the ICQ API is written for C++, I have managed to convert most of them but maybe this one is not converted correctly ?
What the documentation says:
void WINAPI ICQAPIUtil_SetUserNotificationFunc(UINT uNotificationCode, void *pUserFunc);
In a module:
Public Declare Function ICQSetUserNotificationFunc Lib "ICQMAPI.dll" Alias "ICQAPIUtil_SetUserNotificationFunc" (uNotificationCode As Integer, ByVal pUserFunc As Variant)
In the code of a form:
Call ICQSetUserNotificationFunc(1, AddressOf ICQOnlineListChange)
Is the function converted correctly ? if it is, what is the problem. If not , How should it be?
The function set wich of MY functions (In my app) will be called when a certain notification from ICQ arrives...
here goes..
Now the documentation for the ICQ API is written for C++, I have managed to convert most of them but maybe this one is not converted correctly ?
What the documentation says:
void WINAPI ICQAPIUtil_SetUserNotificationFunc(UINT uNotificationCode, void *pUserFunc);
In a module:
Public Declare Function ICQSetUserNotificationFunc Lib "ICQMAPI.dll" Alias "ICQAPIUtil_SetUserNotificationFunc" (uNotificationCode As Integer, ByVal pUserFunc As Variant)
In the code of a form:
Call ICQSetUserNotificationFunc(1, AddressOf ICQOnlineListChange)
Is the function converted correctly ? if it is, what is the problem. If not , How should it be?