Using C headers in C# Project

  • Thread starter Thread starter Mike Welch via .NET 247
  • Start date Start date
M

Mike Welch via .NET 247

Hi All,

I'm having a little trouble. I'm building a GUI frontend tocontrol a robot via an API supplied by the manufacturer. Allthe stuff i need to talk to the robot is in header files in C. My GUI is written in C# and i wanted to use the header files tocreate various connection objects and call methods (ie.setHeading() etc). I need to know how to get this C code intomy project, or if its even possible. Thanks
 
Hi Mike Welch. I can't help you with your question (I'm still playing
with eVC++ for PPC), but I just felt compelled to say hi.

Regards,

Mike Welch
 
You will need to look at Interop services.

Hi All,

I'm having a little trouble. I'm building a GUI frontend to control a
robot via an API supplied by the manufacturer. All the stuff i need to talk
to the robot is in header files in C. My GUI is written in C# and i wanted
to use the header files to create various connection objects and call
methods (ie. setHeading() etc). I need to know how to get this C code into
my project, or if its even possible. Thanks
 
Back
Top