View Single Post
Old 09-29-2003, 11:27 AM  
darkone
Disabled
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default Re: UserId = -1 in ONLINEDATA

Quote:
Originally posted by Mouton
Sometime during a user's log-in, onlinedata returns -1 as UserId...
Is that expected ?

Is there other cases like that that would make subsequent calls to DC_xxx crash ?

Took a while to isolate the reason why onlinedata fetches crashed ioftpd.exe in certain occasion....
Different compiler settings, could cause such behaviour (use 8byte [32bit] padding for structures) Online data returns -1, when user has not identified himself (as connection is killable at this point, by using WM_KILL)
darkone is offline