I'm currently writing a chat window for my licq-gtk2-gui and hit a strange behavoir of the original ICQ client. I have WindowsXP installed on a virtual machine to try chatting. When starting a chat session from windows-ICQ to Licq (running on my host system), everything works fine. If I try it with my own GUI the original-ICQ-chat window is closed and nothing more happens, no further sending of packets or stuff.
What my GUI does is the following:
- create a new instance of CChatManager, giving it the ID with strtoul(ID, (char**)NULL, 10)
- connect a function to the pipe
- if a port is given (in the CEventChat event):
--> CChatManager::StartAsClient( CEventChat::Port() )
--> CICQDaemon::icqChatRequestAccept(strtoul(...), 0, CEventChat::Clients(), CEventChat::Sequence(), CEventChat::MessageID(), CEventChat::IsDirect() )
- if no port is given:
--> go on if CChatManager::StartAsServer() is successful
--> CICQDaemon::icqChatRequestAccept(strtoul(...), eventChat::Clients(), ... [same as above] )
this is all. I couldn't find any other calls in the QT-GUI. Is it neccessary to send font packets (hm, but this is done in icqChatRequestAccept already) or are any manual user connection calls are required?
thanks in advance Joachim
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel