At Wed, 3 Apr 2002 16:42:41 +0200,
> C) The solution
> I once call cob_init_math() by my own from the c code.
> If the compiler would do this for me, then the run-time
> system would require an application wide register, that
> allows to initialze the registers once for any other
> subprograms, or you use a hidden initialize register
> inside libcob.
Right. I'll do this and throw a warning if libcob hasn't
There is a function called cob_init, which is expected to
be called at the beginning of the program. You'll want to
call it in your C code before calling your COBOL modules.