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
Either remove WIN32_LEAN_AND_MEAN or add #include <ole2.h> before #include <commdlg.h>...
Pelle
Or read:
http://smorgasbordet.com/phpBB2/viewtopic.php?t=231