On CbuilderXE if I create a TWSocketServer and the I call the ClientCount 
method I get an access violation.
If The debugger query the method fSrvWSocket->ClientCount give the following 
E2122 Function call terminated by unhandled exception 0xc0000005 at address 

Belowe the sample code I used for the example.

FClientClass             = __classid(TClientWSocket);
fSrvWSocket              = new Overbyteicswsockets::TWSocketServer(NULL);
fSrvWSocket->Name        = "AppServer_WSocket";
fSrvWSocket->ClientClass = FClientClass;

int nClient = fSrvWSocket->ClientCount;

Any suggestions or ideas about that ?
Regards, Enzo
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to