S
srfpala
Guest
Running VS2008Pro on Win7.
Building a VC++ clr windows form application
If I comment out
Application::Run(gcnew Form1());
I get a clean compile, link and exe(of course the exe does nothing.)
When I uncomment this line and rebuild, I see
Compiling...
stdafx.cpp
Compiling...
ddp0089.cpp
.\ddp0089.cpp(16) : error C3767: 'ddp0089::Form1::Form1': candidate function(s)
not accessible
AssemblyInfo.cpp
Generating Code...
Build log was saved at "file://d:\CPP Apps\DDP0089_2008\ddp0089\ddp0089\Debug\BuildLog.htm"
ddp0089 - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
// ===============================================================
Form1.h is present in the project
As you knowApplication::Run(gcnew Form1()); is gnerated code - not mine.
Any ideas as to what I should do ?
Bob
Bob
Continue reading...
Building a VC++ clr windows form application
If I comment out
Application::Run(gcnew Form1());
I get a clean compile, link and exe(of course the exe does nothing.)
When I uncomment this line and rebuild, I see
Compiling...
stdafx.cpp
Compiling...
ddp0089.cpp
.\ddp0089.cpp(16) : error C3767: 'ddp0089::Form1::Form1': candidate function(s)
not accessible
AssemblyInfo.cpp
Generating Code...
Build log was saved at "file://d:\CPP Apps\DDP0089_2008\ddp0089\ddp0089\Debug\BuildLog.htm"
ddp0089 - 1 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
// ===============================================================
Form1.h is present in the project
As you knowApplication::Run(gcnew Form1()); is gnerated code - not mine.
Any ideas as to what I should do ?
Bob
Bob
Continue reading...