I have a unit/form which enables me to preview print data and optionally print it. It works well for me, but whenever I attempt to add it into a new project, I get the following error: Fatal: Unit PrintersDlgs searched but Printers found
I have found by trial and error that if I remove the component TPrintDialog from the unit, and then replace it, patching up the code, then everything compiles OK. What could be causing this problem? Should I report it as a bug?
I'm attaching the code.