473,394 Members | 1,944 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to convert from c++ to Csharp

I have a Project in C++
( only mathemat. Calculations )

Is there any too or easy way to convert to C-Sharp ??

Peter
Nov 15 '05 #1
2 7701
Peter,

Without seeing the code, it is not possible to say. There is no direct
conversion between C++ and C# (although some code is easier to translate
than others).

However, you can compile the C++ code as a managed assembly, or access
previously compiled code through the COM interop mechanism or the P/Invoke
layer (if you are exposing the functionality through COM or exported
functions).

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

"Peter Stojkovic" <Pe*************@gmx.net> wrote in message
news:u9**************@TK2MSFTNGP10.phx.gbl...
I have a Project in C++
( only mathemat. Calculations )

Is there any too or easy way to convert to C-Sharp ??

Peter

Nov 15 '05 #2
On Mon, 22 Dec 2003 12:58:10 +0100, Peter Stojkovic
<Pe*************@gmx.net> wrote:
I have a Project in C++
( only mathemat. Calculations )

Is there any too or easy way to convert to C-Sharp ??

Try the 9Rays.Net Spices.Net Decompiler (http://9rays.net), simply compile
your C++ project to managed c++ form and decompile it in Spices.Net to C#.
--
Best regards,
Al Ponomarev
9Rays.Net
Nov 15 '05 #3

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

Similar topics

11
by: Altramagnus | last post by:
I have a complicated Region object, which I need to draw the outline, but not fill How can I convert the Region object to GraphicsPath object? or How can I draw the outline of the Region object?
3
by: hunterb | last post by:
I have a file which has no BOM and contains mostly single byte chars. There are numerous double byte chars (Japanese) which appear throughout. I need to take the resulting Unicode and store it in a...
7
by: cs_hart | last post by:
I have an application in Java that I would like to port to c++ to integrate with existing c++ app. is anyone aware of any tools to help? I found microsft has a java->csharp convert, but the java...
2
by: Christopher Beltran | last post by:
I am currently trying to replace certain strings, not single characters, with other strings inside a word document which is then sent to a browser as a binary file. Right now, I read in the word...
1
by: Tamir Khason | last post by:
Somebody knows how to convert Bounds to Point ??? Thnx
2
by: Aaron Prohaska | last post by:
Can anyone tell me how I can convert the following code to csharp? I'm having problems with this because it seems as though KeyChar.IsDigit doesn't exist in csharp. ...
3
by: Mike | last post by:
Hi, Does anyone know of reliable programs that convert C# to Java and viceversa? Thanks Mike
5
by: moondaddy | last post by:
How do I get the string representation of an int? for example int var1 = 2; string var2 = var1.ToString; I'm wanting var2 to be "2" I get the compile error: Error 1 Cannot convert...
4
by: kvicky | last post by:
I have multiline textbox and I am trying to do a search functionality based on the input entered in this Textbox. I am able to convert into a string array if the search components are separated by...
18
by: MrVS | last post by:
Hi, I have a C++ CLR class method that takes System::Byte *b as parameter argument. I want the CSharp caller pass a byte * to this function. But in the CSharp prorgram, I only managed to create a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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
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...
0
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...

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.