VC .DLL + Centura string
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi I've succesfully coded a Visual C++ .DLL that has some exported functions. Now i'm having some problems using Centura strings and modifiying them. I use the type 'LPSTR' as following: In centura -> External declaration: Function: GetFirmName Parameters .. Receive string: LPSTR In .DLL: void GetFirmName(LPSTR pFrm) { strcpy(pFrm, "IMTESTINGAROUND"); } Is this the right way to deal with strings in .DLL to Centura? I ask this in the VC++ forum because it is Visual C++ code but has to interact with a Centura program. Greetings, Jens