-
March 1st, 2014, 03:02 PM
#1
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 ]
-
March 1st, 2014, 03:32 PM
#2
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...
Victor Nijegorodov
-
March 1st, 2014, 05:05 PM
#3
Re: hmm can some one help me in this code
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
-
March 2nd, 2014, 08:12 AM
#4
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?
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|