Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mswinsock.winsock is not found.
Message
 
 
À
27/10/2009 16:44:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01431706
Message ID:
01431756
Vues:
43
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform