using mfc in .net2003
hi all,
i am new to MFC programming. rite now i have started reading mfc programming book by jeff prosise. I have .net2003 with me. Now i am starting my application with following steps
1. select win32 application from the project selection option
2. in application setting i check mark empty project tag
3. i change the project setting to "use mfc in shared dll "
Now i copied the source code to .h and .cpp file and excuted it. but it is giving me the following errors
c:\Documents and Settings\kunal\My Documents\Visual Studio Projects\mfc examples\s1234\s1.cpp(39): error C3209: ' DT_CENTER' : Unicode identifiers are not yet supported
c:\Documents and Settings\kunal\My Documents\Visual Studio Projects\mfc examples\s1234\s1.cpp(39): error C3209: ' DT_VCENTER' : Unicode identifiers are not yet supported
c:\Documents and Settings\kunal\My Documents\Visual Studio Projects\mfc examples\s1234\s1.cpp(39): error C2146: syntax error : missing ')' before identifier ' DT_CENTER'
c:\Documents and Settings\kunal\My Documents\Visual Studio Projects\mfc examples\s1234\s1.cpp(39): error C2059: syntax error : ')'
i am not able to interpret the errors. please help me out of it. I guess i m not starting the application properly because code is correct(i just copy pasted from book)
Thanks
kunal s pate

