Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Hell P2
Message
 
À
12/09/2000 13:54:26
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00415475
Message ID:
00415484
Vues:
15
>I created a DLL in Foxpro and tried calling it from Excel 97. Then we created a DLL with VB 6.0 and tried calling it from Foxpro. We keep getting, the ever famous, Cannot find Entry point (DLL Name) in the DLL. Microsoft's website say it is case sensitivity issue, but we checked and double checked all that, everything is exact. Has anyone had this same problem? Does anyone know what is wrong?
>
>Thanks,
>
Jim,

The DLL you created was a COM object. Unlike a C style DLL, the COM object has to be registered and the object generated via its ProgID. While a call to a DLL in the API is case sensitive, ProgIDs are not.

In order to register the DLL you can use RegSvr32 or the DLL's internal registration function DllRegisterServer(). Once this has been done, you can then access it with:
oObject = CREATEOBECT("MyDll.MyServer")
and call the methods as you would with any other object.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform