I'm prototyping calling a .NET 4.0 assy from PB as a COM object. Eventual goal is to use .NET assy as WCF client to vendor SOAP services. (Unfortunately neither PB Classic not .NET are able to generate proxies to these services).
I started with a real simple HelloPowerBuilder example in order to understand the pieces and how they fit together.
I followed Bruce's .NET 2.0 example and 4.0 example as well as another older example
The steps are (as I did them)
Create the assembly
Make COM visible
Build it
Test with .NET WinForm
Copy assembly to PB app folder
Add to Registry (RegAsm) -- I'm on a 32 bit platform
Here's the registry file -
Write PB test harness code
Life should be good -
But it's not?
What am I missing?
How to diagnose a -3 error?
TIA