Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dll h***
Message
 
À
24/09/2007 21:32:36
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
01256524
Message ID:
01256570
Vues:
11
Look for a DLL viewer on the internet, perhaps it will give you the version number.

>I have gotten myself into a real pickle. We are using Amyuni Creactivex.dll to fill in and print PDF forms. The problem is that we have lost control of the dll version that gets used by the CreateObject method. I need to be able to create the object and see what version of the dll actually got used. The dll does not implement the getdllinfo method ->[[GetProcAddress(LibRef, "GetDllInfo") returns 0]]<- and I have not been able to find any VFP code that will tell me. Over the years, we have been lax and on our users with local networks a workstation may have several versions of the dll scattered around. The problem is made worse by the fact that these machine may be using several of our programs and some of them need to use an older version while our flagship product needs to use the most recent version of the dll. If I can determine the version used I can take steps to ensure that it is the correct one.
>
>What I need to do is determine the dll version used by CreateObject and if it is incorrect set the object to null, unregister that dll , register the correct one and recall createobject. Any hints? I really don't want to crawl around in the registry but if I have to then I have to.
>
>Thanks for any help.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform