Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function to get the IPAddress
Message
 
 
À
16/03/2001 09:08:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00485417
Message ID:
00485858
Vues:
14
>>I got lazy and just copied it off the property sheet< s >. Without the ".1" will cause the current version to be selected.
>
>Do you know if there has always been a version independent reference to controls in the Registry? In the early going I was pretty confused about how to know which "version" to instantiate. I.e. what if one machine had this version and another machine that one? :-)

Bill,
PMFJI, but yes there has always been a version independent entry. An article was written a couple of years ago (by Doug Hennig I think) on one method of avoiding DLL hell by using AddObject at run-time insetad of embedding an OLE control in your forms. The OLE control must use the same version of the control because it uses the version dependent entry while AddObject/NewObject can use the independent version and use whatever the end user has installed.

Note: It works for some controls but some have a copy protection/license associated with them that precludes this technique.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform