Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't work out how to use printers in a dll

Status
Not open for further replies.

martinmos

Programmer
Aug 6, 2007
3
GB
I am trying to write a dll which will be used to print.
Very little works so far.
The following cause the dll to crash:-

printdialog1.execute

any line which uses printer, eg printer.width.
or GetDEviceCaps(printer.canvas.handle.....

Anyone have any advice?
 
It might be helpful if you describe the error in question.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top