Microfocus 3.1 and I'm trying from Cobol to call a C++ dll which has a function with the following paramaters:
char *sSQL
const char *sDatabaseName.

Please note that the calling itself is ok (return no error). however, the error occurs at the end of the cobol program.

the following is the error:
114 attempt to access item beyond bounds of memory (signal 11).

If I tried to call only on char *sSQL (without const char *sDatabaseName) then it works.

any clue?