Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C++ Programming

Connecting to USB: c++ code


Hi!
  I wish to send and receive data to usb port through c# code. Upon
searching, I found out that
 c# only has support for SerialPort in System.IO.Ports and no support
for usb. For that I will have to use c++ wrapper classes.

 Please don't tell me use a serial-to-usb convertor coz there are some
hardware issues that I have with the GSM modem.

 1. But I can't find any good resource or c++ code, through which i
can do that? Can u  tell me the links.

  2. What is meant by COM1, COM2 and so on? Can somebody educate me on
that? Are these terms only used for serial ports or usb ports?

Thanks in Advance

Your question does not deal with anything
concerning the C++ language, try a group dedicated to your
OS (as I see, it is Win).

Best,
Pasalic Zaharije

I guess it does because i need the code to connect to usb for c++. I
need the wrapper classes so i can use them in c#.
weird0 schrieb:

> I guess it does because i need the code to connect to usb for c++. I
> need the wrapper classes so i can use them in c#.

The _language_ C++ doesn't have any way to "connect to usb", so your
question is offtopic in this group.
When doing communication with COM-ports or USB, you use platform specific
libraries like the WinAPI. So your question belongs to a Windows platform
newsgroup.

Read here:
http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

--
Thomas
http://www.netmeister.org/news/learn2quote.html

On Tue, 05 Jun 2007 11:20:26 +0000, weird0 wrote:
> On Tue, 05 Jun 2007 00:53:43 -0700, Hari wrote:

>>> Hi!
>>>   I wish to send and receive data to usb port through c# code. Upon
>>> searching, I found out that
>>>  c# only has support for SerialPort in System.IO.Ports and no support
>>> for usb. For that I will have to use c++ wrapper classes.

> [...]

>> Your question does not deal with anything concerning the C++ language,
>> try a group dedicated to your OS (as I see, it is Win).

(Please don't snip relevant context [restored]... your post made
absolutely no sense without it).

> I guess it does because i need the code to connect to usb for c++. I
> need the wrapper classes so i can use them in c#.

This group deals only with C++ *language* issues - your question really
does not concern a language issue. Please see the FAQ:

http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.9

This article also contains some links that may be of help to you.

Regards,

--
Lionel B

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc