Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to impement an external DLL in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01624395
Message ID:
01624414
Vues:
81
Awful lot of work to end up with the same app!

>Thanks, Rick
>
>>The DLL is a .NET component not a COM component so you can't just CreateObject() on it.
>>
>>You either need to:
>>
>>* Register the Component for COM Interop by running RegAsm on it (from Visual Studio SDK)
>>* Use wwDotnetBridge to use the .NET component directly
>>
>>I would use the latter route since it avoids having to register anything.
>>
>>wwDotnetBridge is open source (or comes as part of West Wind Client Tools with some additional features) and source code is on GitHub:
>>
>>wwDotnetBridge Site
>>
>>
>>+++ Rick ---
>>
>>
>>>Hi Gang!
>>>
>>>Hate to bother you today.
>>>
>>>We have been told to recode our EZSIGN application (written in VFP 9.0 SP1). We have to use the RBA_SDK dll's to implement it.
>>>
>>>So..... we have tried various things to open the DLL and use it... like
>>>
>>>lo = CREATEOBJECT('rba_sdk.rba_api") to no avail.
>>>
>>>We tried registering the DLL but it will not load.
>>>
>>>So I've included a screenshot of the DLL being referenced in Visual Studio.
>>>
>>>Can you give some direction for us to implement it in VFP ?
>>>
>>>Thanks!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform