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!