> We have now discovered that:
> Yes, the error do not arise when using WSocketForceLoadWinsock or having
the
> smtp component on the main form (or creating a dummy smtp component at
> runtime and let it exist while the application is running).

WSocketForceLoadWinsock immediately load the DLL. If you down't want that,
call WSocketForceLoadWinsock the first time you send a mail. Note that
loading winsock has almost no impact on a system with TCP/IP network since
the DLL is already loaded into the system. Loading it for another
application (yours) only map it into the application virtual memory space
without really loading anything. Only the data segment is private to each
application and this doesn't load anything from disk.

Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to