Quote:
Originally Posted by ronald View Post
Please note that the calling itself is ok (return no error). however, the error occurs at the end of the cobol program.
Hmm..

Quote:
Originally Posted by ronald View Post
the following is the error:
114 attempt to access item beyond bounds of memory (signal 11).
That can't be caused by a missing const. Your program might be trying to access array index(es) beyond its size.
Could you please post your code.

BTW, const char * is nothing special. It's just the same char *. The only thing the const keyword does it, it makes the target func aware that it should not alter the char *.