![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi I am new to C++, using VS NET 2003 I used the wizard to create a simple MFC Application project and did not add or change anything. When I try to compile there are many errors, the first is really strange: error C2059: syntax error : ')' in the afxdlgs.h line: void CFontDialog(LPLOGFONT lplfInitial = NULL, DWORD dwFlags = CF_EFFECTS | CF_SCREENFONTS, CDC* pdcPrinter = NULL, CWnd* pParentWnd = NULL) Do I need new libraries? If yes, how? Thanks in advance JK You made no selections within the Application Wizard at all, correct? |
#3
| |||
| |||
|
|
"Jon K" <NoSpam (AT) NoSpam (DOT) Net> wrote in message news:eebhQqhnEHA.3352 (AT) TK2MSFTNGP15 (DOT) phx.gbl... error C2059: syntax error : ')' in the afxdlgs.h line: void CFontDialog(LPLOGFONT lplfInitial = NULL, DWORD dwFlags = CF_EFFECTS | CF_SCREENFONTS, CDC* pdcPrinter = NULL, CWnd* pParentWnd = NULL) You made no selections within the Application Wizard at all, correct? Yes |
|
What happens if you select other templates and attempt to create a project, like plain Win 32 or Win 32, then select Console Application? Win 32 is ok, VB, C# also ok. |
|
As I was unable to replicate your difficulties here by creating an MFC project in VS .NET 2003, then clicking Finish (the project compiles and runs fine), my initial impression is that your installation of Visual Studio is flawed. I'd be considering a complete uninstall/reinstall, pending further details on your situation. Did you install the SP1 or other libraries? |
#4
| |||
| |||
|
|
Did you install the SP1 or other libraries? Thanks for repplying JK You made no mention of the .NET Framework v1.1 SP1 in your original post. |
#5
| |||
| |||
|
|
"Jon K" <NoSpam (AT) NoSpam (DOT) Net> wrote in message news:%23vWeKimnEHA.592 (AT) TK2MSFTNGP11 (DOT) phx.gbl... Did you install the SP1 or other libraries? Thanks for repplying JK You made no mention of the .NET Framework v1.1 SP1 in your original post. I do not have SP1 installed here as it is not installed in the classrooms and labs of my college and I must remain compatible when correcting assignments. If you did install SP1, uninstall it and see if that changes anything. If you did not install SP1, there is a problem on your PC. Sorry not to be clear, I did not install SP1. I was trying to know if |

![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |