Not sure about C#, but you can always compile this project with added CLR
support.
Right-click on project =Properties =Common Language Runtime support =>
Select CLR support in the combo box =Apply.
I can guarantee it will not compile at once. You will need to change other
project's settings. Read MSDN (Common Language Runtime Compilation), which
will explain a bit.
Once this compiles successfully, you can define managed C++ classes in it.
This will turn the project into a .Net class library assembly. Then you can
add references to this assembly in other projects, C# or Vb.Net.
"Gilgamesh" <gi************@aol.comwrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
>I have a program written in C which I need to convert it to C#. This
program includes about six header files and it makes calls to functions
which havee been defined in other C programs . How can I convert only this
program to C# without bothering about other C programs used by this
program? Do I need to just add the include files in the project? What's the
best way to develop this?
Any feedback will be greatly appreaicted.
Thanks,
Gilgamesh