|
-
February 11th, 2003, 03:44 PM
#1
exe without .net framework?
Hello,
may I compile an exe with visual c++.net standard compiler
without using .net framework?
like the old vc6 compiler?
thanks for any hint.
best regards juergen
-
February 11th, 2003, 05:11 PM
#2
I assume that you are asking whether you still can produce native application which are able to run without the CLR...in this case the answer is yes.
Note that you can this only with Visual C++ though...
-
February 11th, 2003, 08:09 PM
#3
Originally posted by Andreas Masur
I assume that you are asking whether you still can produce native application which are able to run without the CLR...in this case the answer is yes.
Note that you can this only with Visual C++ though...
i'm interested in this too. could u please fully explain how to get to this option or is this default anyway? i never really try my programs on comps w/o the .net framework.
-
February 12th, 2003, 01:21 AM
#4
Originally posted by Andreas Masur
I assume that you are asking whether you still can produce native application which are able to run without the CLR...in this case the answer is yes.
Note that you can this only with Visual C++ though...
Thanks very much adreas, that's good news!
juergen
-
February 12th, 2003, 01:34 AM
#5
Originally posted by R3xy
i'm interested in this too. could u please fully explain how to get to this option or is this default anyway? i never really try my programs on comps w/o the .net framework.
Well...since I have not done anything yet with Visual Studio .NET I pretty much cannot help here. I would assume that the wizard gives you the choice whether you want to program managed or unmanaged C++ code though...
-
February 12th, 2003, 01:43 AM
#6
Thanks again,
If I find the solution I will post it here.
juergen
-
February 12th, 2003, 11:32 PM
#7
Originally posted by Andreas Masur
Well...since I have not done anything yet with Visual Studio .NET I pretty much cannot help here. I would assume that the wizard gives you the choice whether you want to program managed or unmanaged C++ code though...
oh it's just if i do a managed or unmanaged code? kinda makes sense i guess. but is there a way of compiling an mfc project into an exe that does need the clr only it doesn't need the .net framework? it's 2 diff layers the clr and the .net framework.
-
February 13th, 2003, 08:32 AM
#8
I believe that if you use unmanaged code, a la VC 6, the .net framework is not required.
The .NET framework is required for applications in "managed mode", which must be compiled with the /CLR compiler switch.
Also, remember that when you write a managed applications (requiring .NET framework) this does not means that you cannot write "old" unmanaged code. You can switch between the unmanaged code and the new managed .net code with the following directives:
and
Anyone sees advantages in using (and mixing) managed code with C++? may be a c++ program using this code style becomes an unreadable mess.
For .NET, go with Visual Basic or C#, I think (altough I must recognize that I've not read the .NET documentation deeply to see the good features)
-
February 13th, 2003, 08:43 AM
#9
thanks very much for your informations.
that's it what I'm looking for.
yours juergen
-
February 27th, 2007, 07:14 PM
#10
Re: exe without .net framework?
 Originally Posted by Andreas Masur
I assume that you are asking whether you still can produce native application which are able to run without the CLR...in this case the answer is yes.
Note that you can this only with Visual C++ though...
Hello,
I need to write a native app on XP. I haven't used VC since DOS days (1.52), but I do have the full MSDN and can install VC .net.
I don' t know C++ or MFC< so I will probably have to write the native app in C.
From your posts it sounds like a native app can be written with VC.net.
Do you know of any resources for a beginner on how to write a native app with VC .net?
thanks
-
March 8th, 2007, 10:06 PM
#11
Re: exe without .net framework?
 Originally Posted by cappy2112
Do you know of any resources for a beginner on how to write a native app with VC .net?
As a starting point..Learn Visual C++ 2005
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
|