- selvam G
- PowerBuilder
- Wednesday, 17 October 2018 02:34 PM UTC
Hi Appeon Team
I am doing prototype for a client server application, calling a C++ dll as local external functions.
Environment PB2017 R2 Win7
When I call one of the function without any parameters as given below, which returns a string works fine.
Function String ext_get_version() &
LIBRARY "abcd.dll" &
ALIAS FOR "getversion;Ansi"
But when I call another function which has parameter Const Char* as given below
Function int ext_get_schema( REF String algorithm) &
LIBRARY "abcd.dll" &
ALIAS FOR "getSchemas;Ansi"
Getting an error as invalid stock pointer on return from function call.
Please let me know what is the issue here.
We do not have source code for the dll.
Any help will be much appreciated.
Thanks
Selvam
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.