473,508 Members | 2,091 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is there a c# -> c++ code converter out there ?

is there a c# -> c++ code converter out there ?

Hi people,

I was just wondering if there is a C# to C++ converter out there. I have
some working c# code and need to integrate it into a non-managed c++
program. The classes used are all user defined and use simple floats ints
etc, so its just a matter of converting syntax and adding proper pointers. A
converter program would therefore save me a lot of time ...

Many thanks for any suggestions in advance,
Jon
Nov 15 '05 #1
3 2220
Jon,

I don't think there is a converter out there per se, but you should be
able to find a decompiler that will decompile assmeblies into C++ code. If
your classes are really all user-defined and use similar types, then you
should be able to just get the decompiled results and then copy-and-paste
them.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Jon Rea" <jr****@bris.ac.uk> wrote in message
news:uK***********@news-binary.blueyonder.co.uk...
is there a c# -> c++ code converter out there ?

Hi people,

I was just wondering if there is a C# to C++ converter out there. I have
some working c# code and need to integrate it into a non-managed c++
program. The classes used are all user defined and use simple floats ints
etc, so its just a matter of converting syntax and adding proper pointers. A converter program would therefore save me a lot of time ...

Many thanks for any suggestions in advance,
Jon

Nov 15 '05 #2
You can try our salamander decompiler,

http://www.remotesoft.com/salamander/

You can upload your file, and get the MC++ code.

The desktop version also supports .h file generation, and
uses same names for local variables as in the original
code when your C# program is built with debug info. Many
efforts have been taken to make sure that the generated
code resembles as much as possible to the original source
code.

Huihong
-----Original Message-----
is there a c# -> c++ code converter out there ?

Hi people,

I was just wondering if there is a C# to C++ converter out there. I havesome working c# code and need to integrate it into a non- managed c++program. The classes used are all user defined and use simple floats intsetc, so its just a matter of converting syntax and adding proper pointers. Aconverter program would therefore save me a lot of time ...
Many thanks for any suggestions in advance,
Jon
.

Nov 15 '05 #3
On Tue, 4 Nov 2003 17:55:38 -0000, Jon Rea <jr****@bris.ac.uk> wrote:
is there a c# -> c++ code converter out there ?

Hi people,

I was just wondering if there is a C# to C++ converter out there. I have
some working c# code and need to integrate it into a non-managed c++
program. The classes used are all user defined and use simple floats ints
etc, so its just a matter of converting syntax and adding proper
pointers. A
converter program would therefore save me a lot of time ...


Try the 9Rays.Spices.Net decompiler(http://9rays.net/products/spices ).
With this tool you can convert your assembly to 6 languages: IL, C#,
VB.Net, MC++, J#, Delphi.Net
--
Best regards,
Al Ponomarev
9Rays.Net
Nov 15 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1367
by: Jan Kesten | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello out there :-) Is was looking around for a tool like mhonarc, but implemented in python (musn't be such powerful). Somebody know such a...
0
933
by: chris | last post by:
i have found a code converter to convert from c# to vb.net is there any converter taht converts from vb.net to c#??
2
3108
by: Scott M. | last post by:
I did a msdn search for an xdr to xsd conversion tool. I found this page: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/htm/xsd_xdrdev_7dbn.asp which clearly states...
6
12002
by: Craig Cockburn | last post by:
http://www.google.com/gwt/n Seems to be down at the moment, was up a few hours ago. -- Craig Cockburn ("coburn"). http://www.SiliconGlen.com/ Please sign the Spam Petition:...
3
3790
by: vertigo | last post by:
Hello DO you know any free/shareware tools which could convert documents from Microsoft Excel (xsl) to xml ? Thanx
4
15279
by: Soren | last post by:
Hi, I want to control some motors using the parallel port.. however, my laptop does not have any parallel ports (very few do). What I do have is a USB->Parallel converter... I thought about...
3
1652
by: kj | last post by:
Hi. Does anyone know of a module that will take a suitable Python dictionary and return the corresponding XML structure? In Perl I use XML::Simple's handy XMLout function: use XML::Simple...
2
2970
atksamy
by: atksamy | last post by:
HI, I am trying to convert this code snippet which is in VBA to C sharp. Can someone guide me Dim cn As New ADODB.Connection, cn2 As New ADODB.Connection Dim rs As...
0
7225
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7124
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7326
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7385
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7046
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5629
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4707
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3195
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.