I have a Borland C++ program that creates Word documents based on a template.
This template runs VBA code to create a (large) report.
All works well, except for in about 1% of the cases: Word crashes with an error 5112.
I don’t know whether it’s the C++ code, the VBA code or the NT environment that causes this ?