OWL/DLL/COM printing problem
Posted on 1999-01-27
I have developed an ActiveX, COM based DLL as a component to medical billing systems. The component includes interface functions which get and send back information and functions which display dialogs for information and selection. Everything works fine except printing. In some of the dialogs I allow the user to choose 'Print' to print certain list box information. However, when I choose Print the "Print Setup" dialog appears and works with no problem. The TPrintout seems to be built with no problems. But, when the DLL actually attempts to print the dialog closes down and I am brought directly back to the calling program.
1. Using Borland C++ 5.2
2. I am able to print from the EXE program.
3. I am positive TPrintout is not the problem since I have tried simplifying it to just 1 or two lines of text but get the same print problem.
Thanks for any help,
Greg Marston, Unicor Medical