Re: about dialog

Originally posted by stumped but why do I get that $$$$ty parse error? It's almost straight from the winprog.org tutorial.

'Parse error' is peculiar to mingw (it's always a good idea to quote your compiler, version and the exact error message) and winprog tutorials are designed and tested (as far as I remember) on msvc and bcc5.5; only the non-resource examples should compile without modification.

If you are compiling resources with mingw you have to #include <windows.h> in the resource script, otherwise constants such as 'DS_MODALFRAME' and 'WS_POPUP' will not be defined.

edit: If you get an error message regarding IDC_STATIC then put this in your resource script after your #includes: