NO

Author Topic: PRINTDLG  (Read 5329 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: 2266
    • 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: 2115
PRINTDLG
« Reply #2 on: December 01, 2004, 06:10:08 AM »
May the source be with you