Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Call a powerbuilder dll in .net

$
0
0

I have added a powerbuilder dll in .net through Add Ref. While creating instance of the class and referencing it I ma getting the beloew error.

"PInvokeStackImbalance was detected
Message: A call to PInvoke function 'Sybase.PowerBuilder.Common!Win32.User::towctrans' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that the calling convention and parameters of the PInvoke signature match the target unmanaged signature."

Please suggest.


Shivendra


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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