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

Callling .net dll from using CCW

$
0
0

Hi Everyone,

 

 

I am using PowerBuilder Classic 12.5 build 2511 and Microsoft Visual Studio 2010.

 

 

I followed the steps in the example of Bruce Armstrong about sending an email through SMTP (TeamSybaseCSharp.CSharpSMTP).

 

 

In the C# dll project, i used .net framework 3.5. using the socket class to establish a connection with a scale and read the weight.

 

 

If i call the dll from a C# winform project works fine and returns the weight, but if i call from PB to the dll returns an empty string.

 

 

In my PB code, ConnectToNewObject returns 0 and everything seems ok.

 

 

Any suggestions?

 

 

Thanks and regards

 

 


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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