473,396 Members | 2,154 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,396 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 1729
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.