Results 1 to 2 of 2

Thread: ICQ API Functions

  1. #1

    Thread Starter
    Member
    Join Date
    May 2000
    Location
    Turkey
    Posts
    49

    Smile

    Hi everyone,

    I want to send a message to someone. I know in their ICQMAPI.dll there is two functions related:

    1)ICQAPICall_SendExternal
    2)ICQAPICall_SendMessage

    I tried them several times but in fact i want to do the stuff externally (via ICQAPICall_SendMessage). Here my code:

    declarations:
    ________________________________________________
    Public Declare Function ICQAPICall_SetLicenseKey Lib "ICQMapi.dll" _
    (ByVal pszName As String, ByVal pszPassword As String, ByVal pszLicense As String) As Boolean
    Public Declare Function ICQAPICall_SendExternal Lib "ICQMapi.dll" _
    (ByVal iUIN As Long, pszExternal As String, pszMessage As String, bAutoSend As Byte) As Boolean
    ________________________________________________

    command button:
    ________________________________________________
    Call ICQAPICall_SetLicenseKey("xxx", "xxx", "xxxxxxxxxxxxxxxx")
    Call ICQAPICall_SendExternal(11111111, "Form1", "Some Message", 1)
    ________________________________________________


    *)The first problem is the ICQAPI_SendMessage function works but the characters sent are totally wrong

    *)The second and the most important problem is the ICQAPI_SendExternal function does not work. In fact I don't know the usage of this function parameters. I tried lots of thing to *pszExternal section but didn't work. Here below the C++ usage of it

    C++ Code:
    ________________________________________________
    BOOL WINAPI ICQAPICall_SendExternal(int iUIN, char *pszExternal, char *pszMessage, BYTE bAutoSend);
    ________________________________________________

    Now please help about this stuff especially the ICQAPICall_SendExternal



  2. #2
    Lively Member
    Join Date
    Jul 2000
    Posts
    82

    me too!!

    i have the same problem!!
    please, someone help!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width