hmm can some one help me in this code
Code
Code:
int Main()
{
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Application::Run(gcnew Form1()); return 0;
}
This Code Should Run Form from dll i put it in Form1.cpp but i got Error [C3861 Run : idetifier not found c2061 and other ]
Re: hmm can some one help me in this code
Your code has nothing to do with the Visual C++. Nor is it a native C++ one.
So I move it to the most appropriate Forum to discuss...
Re: hmm can some one help me in this code
Quote:
Originally Posted by
VictorN
Your code has nothing to do with the Visual C++. Nor is it a native C++ one.
So I move it to the most appropriate Forum to discuss...
ok thanks you
Re: hmm can some one help me in this code
What is the overall configuration of your project, in particular, what type of project is it and what modules does it contain? A DLL just by itself, even if it compiles and links, doesn't run anything. What is the context of your Main() function? How s it meant to be called?
And what is the intention behind that project? Why a DLL and not simply an EXE file?