Convert c# to C++
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
There are converters that do a C# to C++/CLI conversion for you. But to convert a C# app to a Win32 API app, it's not syntax conversion that's needed - you are essentially writing a totally different app targeting a totally different environment. The only converter available would be a human coder. Regards, Nish
Nish’s thoughts on MFC, C++/CLI and .NET (my blog)
The Ultimate Grid - The #1 MFC grid out there! -
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
dl4gbe wrote:
But the project manager insisted on .net Maybe he red too much codeproject
Tsk. Tsk. Managers choosing technologies -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
Like Nish said, you'd be better off rewriting the app. Jeremy Falcon
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
dl4gbe wrote:
The garbage collector sucks and does not rock.
:laugh::laugh::laugh: Good luck with the conversion! I recommend using some sort of tried and tested C++ framework, or you'll just end up writing your own. :~ Regards, Alvaro
... now you see that evil will always triumph because good is dumb. - Dark Helmet
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
::raised_eyebrow:: My Programming Library C#, C# Run
-
dl4gbe wrote:
But the project manager insisted on .net Maybe he red too much codeproject
Tsk. Tsk. Managers choosing technologies -------- "I say no to drugs, but they don't listen." - Marilyn Manson
Michael said; "Tsk. Tsk. Managers choosing technologies" They have a nasty habit of doing that. :rolleyes: I'm on-line therefore I am. JimmyRopes
-
::raised_eyebrow:: My Programming Library C#, C# Run
Hallo, maybe somemore details. Basically my application is using a technology simular to www.myxaml.com. I have the widget info stored in a xml file, and the forms are created on the fly (hundreds of them) I am not using ado.net (again not my decission) and I am using the buildin database (API) I have bad experiences with MFC. This device is so limited . One time I installed a driver which used MFC on one mschine. My application already run out of memory. After removing MFC it run again. :(( Is there any widget library avaiable which is not so demanding as MFC. I only need textbox, combobox, checkbox and radio button. The widgets should be created by createwindowex. But I guess I should not dream. But start to rewrite the whole damn application :(( Chris :)
-
dl4gbe wrote:
But the project manager insisted on .net Maybe he red too much codeproject
Tsk. Tsk. Managers choosing technologies -------- "I say no to drugs, but they don't listen." - Marilyn Manson
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
A manager once told me to rewrite an embedded app (Windows CE) from C++ to C# when .Net 1.0 had recently come out. I tested the speed and I refused to do it. It stayed in C++.
-
Hello, I would like to convert my windows forms application from C# to C++. Can this be done without rewriting the whole application? Oh, and I would not like to use MFC just plain API if possible. Any tools avaiable? The reasons are: C# is too slow. C# wastes too much memory. Before somebody complains: This can't be true! The application runs on an embedded device with a Micky Mouse processor and increadable 32 Megabyte of avaiable RAM. C# is just not good enough for this kind of maschines :(( The garbage collector sucks and does not rock. :mad: But I need all avaiable Bytes for data. Every possible byte. Operating system is windows ce (PocketPC) Chris ;) P.S.: It was not my idea to use .net in the first place. I planned to use C++ with API. But the project manager insisted on .net :(( Maybe he red too much codeproject :doh: -- modified at 11:26 Thursday 16th February, 2006
At my last company after writing over 100,000 lines of test and prototype code in .NET, I recommended we switch back to C++/MFC. C# was nice, I loved working in it, but for what we were doing, I felt it just isn't ready for "thick" client apps. You will have to rewrite, and would want to anyway in order to optimize the app for Win32 CE, but it's not difficult. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
At my last company after writing over 100,000 lines of test and prototype code in .NET, I recommended we switch back to C++/MFC. C# was nice, I loved working in it, but for what we were doing, I felt it just isn't ready for "thick" client apps. You will have to rewrite, and would want to anyway in order to optimize the app for Win32 CE, but it's not difficult. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
Joe Woodbury wrote:
I loved working in it, but for what we were doing, I felt it just isn't ready for "thick" client apps.
Can you elaborate. I'm always interested to know where others have hit problems with writing thick clients with C#, so that I can avoid the same pitfalls. thanks, Michael CP Blog [^] Development Blog [^]