T
Tommy Vercetti
In Visual Studio .NET 2003, I do the following
1) File->New->Project
2) Visual C++ Projects->.NET->Windows Forms Application
3) Project->Add New Item->C++ File
4) Clear the new C++ file and replace with the two lines:
#include "stdafx.h"
#include <vcclr.h>
5) Build->Build Solution
I get the following compilation errors:
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stddef.h(28) : error C2144: syntax error : 'int' should
be preceded by ';'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stddef.h(28) : error C2501: 'p' : missing storage-class
or type specifiers
What do I do? I want to use the gcroot class. Has anyone done so
successfully?
I must say, that so far, converting to Managed C++ has been very
problematic and difficult:
1) Can't use a dynamically linked MFC/runtime
2) Hence I can't use many third party DLLs, namely Boost which VS 2003
has such widely touted compatibility with.
3) Many obscure, confusing, and difficult to diagnose compilation/link
errors.
1) File->New->Project
2) Visual C++ Projects->.NET->Windows Forms Application
3) Project->Add New Item->C++ File
4) Clear the new C++ file and replace with the two lines:
#include "stdafx.h"
#include <vcclr.h>
5) Build->Build Solution
I get the following compilation errors:
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stddef.h(28) : error C2144: syntax error : 'int' should
be preceded by ';'
C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stddef.h(28) : error C2501: 'p' : missing storage-class
or type specifiers
What do I do? I want to use the gcroot class. Has anyone done so
successfully?
I must say, that so far, converting to Managed C++ has been very
problematic and difficult:
1) Can't use a dynamically linked MFC/runtime
2) Hence I can't use many third party DLLs, namely Boost which VS 2003
has such widely touted compatibility with.
3) Many obscure, confusing, and difficult to diagnose compilation/link
errors.