Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSWINSOCK.WINSOCK licensing
Message
 
À
25/04/2001 18:10:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00499746
Message ID:
00500428
Vues:
28
Thanks John,

The problem turns out to be how Microsoft manufactures the A/X control. It can only be used in VFP (as far as I can tell) on a form. Larry Miller hit the nail right on the head with this code:
oform = createobject('form')
oform.NewObject('owinsock','MyWinsockSubclass','MyWinsockclasslib')
lcIP = oform.owinsock.LocalIP
release oform
return lcIP
An aweful lot to go through inside a .DLL, but it will have to do.

Mike
PS "Being John Kozial" That's funny!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform