Api calls

How can i use the icq api to send a url or message to a certain icq number.

Here is the icqapi url:

Please provide me with some code t send messages etc...it is all in the file, but i cant get it to work

Please help..cheers

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

According to the agreement, you aren't allowed to make any app that has instant messaging capability. Be careful that you don't cross the line between this and just sending a message.
Is this the one?

BOOL WINAPI ICQAPICall_SendMessage(int iUIN, char *pszMessage)

I think it would be:

Declare Function ICQAPICall_SendMessage Lib "ICQMAPI.dll"(iUIN As Long, pszMessage As String) As Boolean

If so, then try:

UserNumber = 12345678
Message = "Hello!"
Sent = ICQAPICall_SendMessage(UserNumber, ByVal Message)

Hope this helps! (Hope I'm right...)
wormboy__6Author Commented:
Im sorry...but you arnt right.

This doesnt send the message...it just returns false.
I think i have to call the ICQAPICall_SetLicenseKey function before i can do anything and maybe another function...could you look at the top of the document..as the infomation is there and tell me what i need to do to send messages etc

The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

>>Im sorry...but you arnt right<<
{Chuckle} I'm not surprised. I only downloaded the files to see if I could help you. Unfortunately, I then deleted them. When I get time (assuming I remember), I'll download them again and see if I can make any sense of them.

wormboy__6Author Commented:
Can someone please look at the API and tell me what to do.

Thank you
I believe I have the answer. I need your ICQ # to test it out though.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wormboy__6Author Commented:
I was having the same problem as wormboy.
Master01, could you please post here the solution? Thank you.
Come on guys,
I am tired of wasting points on answers that are not posted. If you have the answer to the question, please post it so those of us who use our points actually get to see it. Thanks
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.