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:
In a module:Code:void WINAPI ICQAPIUtil_SetUserNotificationFunc(UINT uNotificationCode, void *pUserFunc);
Code:Public Declare Function ICQSetUserNotificationFunc Lib "ICQMAPI.dll" Alias "ICQAPIUtil_SetUserNotificationFunc" (uNotificationCode As Integer, ByVal pUserFunc As Variant)
In the code of a form:
Is the function converted correctly ? if it is, what is the problem. If not , How should it be?Code:Call ICQSetUserNotificationFunc(1, AddressOf ICQOnlineListChange)




Reply With Quote