|
From: John R. C. <jo...@we...> - 2005-10-10 12:47:22
|
On Monday 10 October 2005 08:39 am, J=FCrgen Weber wrote: > Hi, > > other questions: > > Is there an example, how to interface tinycobol with > C++? Is this possible at all? > > Is there an example, how to populate a copybook in a C > function or C++ method? Is there a documentation on > the binary structure of a copybook? > > Thanks again, > J=FCrgen A copybook in TinyCOBOL is just an ASCII source file placed where the compiler can find it. There is no special format. Look in=20 =2E./test.code/copybooks for some examples. You are attempting to solve a problem that doesn't exist.=20 Interfacing with a compiled C or C++ program can be done. The documentation for doing this is not available AFAIK. In this respect OpenCOBOL has better documentation. But there are examples in the test programs. Look in ../test.code/T07. =2D-=20 John Culleton Books with answers to marketing and publishing questions: http://wexfordpress.com/tex/shortlist.pdf Book coaches, consultants and packagers: http://wexfordpress.com/tex/packagers.pdf |