Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to impement an external DLL in VFP
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01624395
Message ID:
01624405
Views:
86
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!
Tommy Tillman A+ NetWork+ MCP
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform