Information générale
Catégorie:
Fonctions Windows API
Larry,
Is it possible to get version number using independent version name
before creating object?
>>>>>>>previous messages below
>>>Somebody knows a function to read the IPAddress of my computer. I need a function to be called from VFP.
>>>Thanks
>>
>>Will using the MSWinsck.ocx ActiveX control work? If so
oSock = CREATEOBJECT("MSWinsock.Winsock.1")
>>? oSock.LocalIP
should work.
>
>George why does it work with or without the .1? What exactly is that a versioning number or what? I never looked it up :o
It is a version number. There are usually two entries in the registry. The current version you have installed and a version independent entry that redirects COM calls to the versioned entry.
So either will work.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement