Can C++ .net make completely unmanaged app easily?

aewarnick

Well-known member
Joined
Jan 29, 2003
Messages
1,031
I have been jumping between C++ and C# lately becuase I love the coding ease of C# but am attracted to the speed of C++.

The development environment is just so much better than anything else I have seen.
 
Yes, its easy, you just have to select the Win32 Appliaction type of project and you can make unmanaged application.
 
The reason I am asking is because the drawing speed of C++ is so slow compared to C++. Is it possible to create a managed and unmanaged app where the unmanaged part handles the drawing and the managed does everything else?

And if I did that would the drawing still be as fast as C++?
 
Yes, its possible to mix managed and unmanaged code in one Managed C++ app. You will have to create a Managed project and then just declare you classes as not managed (without the __gc keyword).
 
Yeah, since it wont be touched by the framework. But remeber, since it wont be its important that you code your own destructors for the objects you create.
 
Someone just told me that coding with C++ .net is harder than coding pure native C++. I dont think that could be possible.
 
I dont think Managed C++ is harder. Since it uses framework and framework is object oriented it makes a great organization. Win32 platform APIs are procedure oriented, since I think most of it is written in C. I would say that the good of pure C++ comes at a little price :).
 
C++ isnt exactly "hard" like climbing a mountain is hard. Its mostly just tedious, tiring work. Its heavily based on logic and structure so if you plan ahead, youll be fine.

However, I think C++.NET removes some of the tedium from low-level programming, but still gives you the control you may need with C++. So, no, I dont think C++.NET is "harder".
 
Back
Top