ActivateWinsock
Last updated
Last updated
Activates Winsock services for the component.
After the SockQ object has been instantiated, this method must be called before the SocketQ object can be used. Note that the object must be deactivated before being set to nothing, or all resources will not be freed.
Note that this method returns an error code, with zero specifying no errors. Common errors would include (but are not limited to) those in .
Developers should be aware that all but two method and properties are unavailable for use until an instance of the SocketQ object has been instantiated and the ActivateWinsock method called. The only exception is the property which must be set after the ActivateWinsock method has been called, but before any connections have been made.
LONG CSockQ::ActivateWinsock(BOOL ActivationStatus)