Hello,
You need to subclass the winsock control, and distribute the subclass. Don't worry about the error you get for the dll - you need to distribute just mswinsck.ocx.
So: create a new class, select "OleControl" from the list, select the winsock control, save and you're set. Distribute this class within your application.
Hope this helps.
>When I distribute my complied program to other station why is that I get an error message when I use WinSock Class is not license for use but I already copied the winsock.dll, mswinsck.ocx, mswsock.dll I register the mswinsock.ocx but I cannot register the winsock.dll and a error message this file cannot be register.
Grigore Dolghin
Class Software.