Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mswinsock.winsock is not found.
Message
 
 
To
27/10/2009 16:44:01
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01431706
Message ID:
01431756
Views:
42
>In the smtpmail.prg, this is the createobject line.
>
>
>
>Sock=create('mswinsock.winsock')
>** OR
>*Sock=create('vfpWinSock')
>** to use the winsock emulator class below (wayyyy below!) to avoid
>**   the licensing issues stemming from OCX's, and to avoid having to
>**   register MSWINSCK.OCX on the customers' machines.
>
>
>
>My new class name is "Oletest1.vsx" and the name is "Oletest". Did you mean that I should change "Sock=create('mswinsock.winsock')" to sock=create( --??--).

Yes, change it to

Sock = newobject('OleTest','OleTest1.vcx')
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform