Thread: Can I integrate C and C# code?

  1. #1
    Registered User stevespai's Avatar
    Join Date
    Jun 2006
    Posts
    23

    Can I integrate C and C# code?

    Hi,

    Is it possible to integrate some existing C code into a C# program? If possible, what method would I use to integrate it? Should I put it into a class? How would I include the libraries so the compiler recognizes that the code is C? Any additional information would be greatly apprecaited.

    Thanks.
    Steve

  2. #2
    Registered User stevespai's Avatar
    Join Date
    Jun 2006
    Posts
    23
    Sorry about posting in two boards. I should have read the guidlines. I was hoping that if the C# programmers didn't have experience in this, maybe the C programmers would.
    Last edited by stevespai; 07-25-2006 at 05:45 PM.

  3. #3
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,005
    Continued here.
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

Popular pages Recent additions subscribe to a feed