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
I got a dll written in Visuall C++ including _stdcall. for a simple function just to try it out
But somehow PB comes up with error opening DLL.Do I need to do any config.
Any help will be much appreciated.
Thanks
Selvam