Quantcast
Channel: SCN : All Content - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2935

PB .Net assembly not working on PB Classic (12.5.2 version both)

$
0
0

Hi!

 

I just followed the steps for using a .net assembly on PB 12.5.2 Classic target.

 

I'm getting a "-2" error (class not found) on my PB Classic client when using Connecttonewobject function

 

My assembly target (PB .NET) looks like this:

 

assemblyCode.png

 

It only has 1 public function, it's been signed and registered on windows assemblies (using gacutil), it has the COM visible property = true

 

Here is the results from FXCop

 

fxcorpAnalyze.png

Most or all of the fixes to do are script that PowerBuilder generates on deploy..

 

 

Here is my client code:

 

assemblyClient.png

 

Can someone help me?


Viewing all articles
Browse latest Browse all 2935

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>