Thomas Lundgren - 2001-10-21

Hi there. I hope someone can help me with this easy (I hope) problem:

Using icqlib 1.0.0

I have successfully compiled libicq as a MFC-project and I can login and logout users pretty much as I want. To handle the calls to icq_Main() I use a timer each 1/100 second and I also use a timer every 10th second to call icq_Handletimeout(), just in case.

However I must be doing something wrong since as soon as I begin calling icq_Main with my timer, all action-functions stop working (the callbacks still work though)

I have a very simple example:
1. Create the icq user
2. Login the user
3. Logout the user
Works fine
1. Create user
2. Login user
3. Calls to icq_Main with timer
4. Logout user
The user is NOT logged out. In fact. I can call whatever function I want (sendmessage, changestatus) and nothing happens.

What am I doing wrong? Has icq_HandleTimeout something to do with it?

Please help me because I have no idea what to do.
/Totta