Hi Everyone,
I am using PowerBuilder 11.1 build 8123.
I am calling VC++ DLL in our PowerBuilder application which return char[] data type value.
I just declare Global External Function:-
Function char getOSSectionName() library "DocServClient.dll" alias for "getOSSectionName;Ansi"
And then call this function in window as:-
Char ls_section[1] = 'DOCAPPLICATIONS9X'
ls_section[1]=getOSSectionName()
When I check ls_section[1] value in messagebox it display a symbol (please check attached attached image.)
VC++ function and return variable declaration:-
__declspec(dllexport) char * __stdcall getOSSectionName()
{
char SectionName[_MAX_PATH];
Please let me know that my code is valid or not.
Please help..