|
From: Bill S. <we...@ri...> - 2001-01-28 20:22:46
|
On Sun, 28 Jan 2001, Roland Rabien wrote: > I have been using icqlib and having no problems, today I upgraded to the > latest version of the code (i hadn't upgraded for maybe 4 months) and I > changed my code to fit the changes to the API, and then when I try and > connect it crashes on this line: > > memset(link->d->icq_UDPServMess, FALSE, sizeof(link->d->icq_UDPServMess)); > > in icq_Login() > > link->d is null > > what am I doing wrong? (i am using win32) Are you still allocating your ICQLINK struct manually? The newest API requires you to use the new icq_ICQLINKNew function to do this - which will set up the icqlink->d pointer for you. See the CHANGES_SINCE_1.0 file for more details. Bill |