473,395 Members | 1,815 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,395 software developers and data experts.

Using C headers in C# Project

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

--------------------------------
From: Mike Welch

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5IlCGU15F0CDkf70VqUcRQ==</Id>
Nov 22 '05 #1
4 1728
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

Mike Welch via .NET 247 <an*******@dotnet247.com> wrote in message news:<OH**************@TK2MSFTNGP09.phx.gbl>...
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

--------------------------------
From: Mike Welch

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5IlCGU15F0CDkf70VqUcRQ==</Id>

Nov 22 '05 #2
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

Mike Welch via .NET 247 <an*******@dotnet247.com> wrote in message news:<OH**************@TK2MSFTNGP09.phx.gbl>...
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

--------------------------------
From: Mike Welch

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5IlCGU15F0CDkf70VqUcRQ==</Id>

Nov 22 '05 #3
You will need to look at Interop services.

"Mike Welch via .NET 247" <an*******@dotnet247.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
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

--------------------------------
From: Mike Welch

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5IlCGU15F0CDkf70VqUcRQ==</Id>
Nov 22 '05 #4
You will need to look at Interop services.

"Mike Welch via .NET 247" <an*******@dotnet247.com> wrote in message
news:OH**************@TK2MSFTNGP09.phx.gbl...
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

--------------------------------
From: Mike Welch

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>5IlCGU15F0CDkf70VqUcRQ==</Id>
Nov 22 '05 #5

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

Similar topics

7
by: Billy Jacobs | last post by:
I am using a datagrid to display some data. I need to create 2 header rows for this grid with columns of varying spans. In html it would be the following. <Table> <tr> <td colspan=8>Official...
4
by: Alexander Gorshenev | last post by:
I am looking for an elegant solution for the following problem: I have two projects for which I have to create a kind of bridge or translator between. For each of the projects there exist a set...
6
by: David Lack | last post by:
Hi, I recently installed a 60-day trial of .NET 2003 on my development system. I made tests with previous personal projects (which compiled ok with VC6) and some open source files, and keep...
2
by: | last post by:
I try to build dll in VC .NET, In that project I use dlls that were built in VC6, and I get a lot of errors. (for example <iostream.h> instead of <iostream> etc.) I am not aloud to change anything...
1
by: Ly Hoang Hai | last post by:
Hi all, I have just port my C++ 6.0 project into C++ project of Visual Studio.NET. However, .NET tell me that it can not find iostream.h. Some search on the internet tell me that I should change...
3
by: ~~~ .NET Ed ~~~ | last post by:
This is a strange problem and I wonder if anybody has experienced this annoying anomaly. I created a new ASP.NET project with its web-shared directory on my WinXP Pro/IIS machine. I compile the...
3
by: Tim_Mac | last post by:
hi, see quote below from http://groups.google.ie/groups?hl=en&lr=&th=36c5d2df211a4d78&seekm=00480961-660F-462D-BBD4-455C8DA26C38%40microsoft.com&frame=off According to the book: "Deploying .NET...
15
by: Nathan | last post by:
I have an aspx page with a data grid, some textboxes, and an update button. This page also has one html input element with type=file (not inside the data grid and runat=server). The update...
4
by: Dave Calkins | last post by:
I have a native Win32 C++ app built with Visual Studio 2005. I'd like to make use of a property grid control in this app. For an example of this, in Visual Studio, see the properties control...
6
by: Watermark | last post by:
i got problem with this i m implementing web based mail system. i want to access mbox and retrieve mail from it and display it on web page.. can anybody help me.
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: 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
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,...
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
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,...
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...
0
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.