473,609 Members | 2,134 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 2229
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.co m

"Jon Rea" <jr****@bris.ac .uk> wrote in message
news:uK******** ***@news-binary.blueyond er.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.Ne t 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
1372
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 tool? My problem is to archive an entire mailing list on a webpage, but I don't have a shell account there, so I can't install a perl
0
942
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
3112
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 that MS has created just such a tool. There is a link on that page (under the See Also) that seems as if it would take me to the tool, but instead a large list of other items (not the conversion tool!) comes up. Does anyone know where this tool...
6
12011
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: http://www.siliconglen.com/spampetition/ Home to the first online guide to Scotland, founded 1994. Scottish FAQ, weddings, website design, stop spam and more!
3
3793
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
15309
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 using PyParallel, but the USB->Parallel converter doesn't actually map to the LPT port .. and PyParallel only looks for LPT ports? Has anyone tried doing this? What are my options for controlling parallel connections on a laptop with no parallel...
3
1653
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 'XMLout'; my %h = ( 'Foo' =+{ 'Bar' =+{ 'Baz' =, 'eenie' =4,
2
2979
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 ADODB.Recordset Dim rs3 As DAO.Recordset Dim connString As String Dim SelectFieldName
0
8127
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8067
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8567
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8215
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8398
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6053
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5509
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1658
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.