NO

Author Topic: PRINTDLG  (Read 3593 times)

PK4BCX2

  • Guest
PRINTDLG
« on: November 30, 2004, 08:55:35 pm »
When i try to use -> PRINTDLG pd ;
I get this errors :

D:\PellesC\Include\Win\commdlg.h(572): error #2001: Syntax error; found 'LPUNKNOWN' expecting '}'.
D:\PellesC\Include\Win\commdlg.h(577): error #2156: Unrecognized declaration.
etc ....

I'm i doin something wrong or ???

Peter

Offline Pelle

  • Administrator
  • Member
  • *****
  • Posts: 2076
    • http://www.smorgasbordet.com
PRINTDLG
« Reply #1 on: November 30, 2004, 11:51:41 pm »
Either remove WIN32_LEAN_AND_MEAN or add #include <ole2.h> before #include <commdlg.h>...

Pelle
/Pelle

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1895
PRINTDLG
« Reply #2 on: December 01, 2004, 06:10:08 am »
May the source be with you