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

Getting a decimal variable from OLEObject

$
0
0

Hello, all

Does anyone know how to handle this problem.

I have a .NET component, which is COM visible.

PB classic connects to it and executes all functions without a problem.

However, when it tries to access variable of type System.Decimal it cannot convert it to PB decimal. or to any other PB variable type.

Trying to convert it to string by using string ls_price = string(ole_res.price) returns empty string.

 

Any idea how to get to the System.Decimal ?

 

Thank you

Arcady


Viewing all articles
Browse latest Browse all 2935

Trending Articles



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