|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
c++ - prsht.h errors
I'm trying to compile an ANSI C windows program with dm and get the
following errors:
typedef struct _PSP FAR* HPROPSHEETPAGE;
^
D:\DM\BIN\..\include\win32\PRSHT.H(56) : Error: '=', ';' or ',' expected
typedef UINT (CALLBACK FAR * LPFNPSPCALLBACKA)(HWND hwnd, UINT uMsg, struct
_PROPSHEETPAGEA FAR *ppsp);
^
D:\DM\BIN\..\include\win32\PRSHT.H(63) : Error: ')' expected to close
function parameter list with
typedef UINT (CALLBACK FAR * LPFNPSPCALLBACKW)(HWND hwnd, UINT uMsg, struct
_PROPSHEETPAGEW FAR *ppsp);
^
D:\DM\BIN\..\include\win32\PRSHT.H(64) : Error: ')' expected
DWORD dwSize;
^
D:\DM\BIN\..\include\win32\PRSHT.H(89) : Error: ';' expected following
declaration of struct member
DWORD dwFlags;
^
D:\DM\BIN\..\include\win32\PRSHT.H(90) : Error: 'DWORD' is already defined
Fatal error: too many errors
--- errorlevel 1
I believe richedit.h includes the prsht.h file. I'm not trying to create a
property sheet control. I am using richedit though.
Any thoughts?
Thanks... Gary.
Mar 03 2003
Could be a macro going awry. Try compiling with -e and check the error message. "Gary" <gedumer bcpl.net> wrote in message news:b40ab9$219f$1 digitaldaemon.com... Mar 03 2003
|