Re: USB C++

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Ray Trent (ratrent_at_nospam.nospam)
Date: 02/22/05


Date: Tue, 22 Feb 2005 14:32:36 -0800

Even then, you can't really get down to the "pin" level. That's the
responsibility of the host controller hardware.

Stephan Wolf [MVP] wrote:
> I guess that's not a question of how you can achive this using C++ or
> any other programming language, but rather whether you want to do this
> from a user-mode program (application) or a kernel mode program
> (device driver).
>
> As I am not a USB expert, I can just guess if you want to directly
> access "pins", you need to write a device driver. Although this can be
> done using C++, drivers are usually written in C.
>
> Other people will probably be able to help you more when you provide
> more details of what you want to achieve.
>
> Stephan
> ---
> On Tue, 22 Feb 2005 17:01:04 +0200, "SerVel" <servel@mail.md> wrote:
>
>
>>Can anybody help me to reach USB port from C++.
>>(For evample to set/read a pin). Any suggestion are wellcome.

-- 
../ray\..


Relevant Pages

  • Re: NDISPROT sample performance (once again)
    ... Stephan Wolf [MVP] wrote: ... You are kind of trying to reinvent the wheel. ...
    (microsoft.public.development.device.drivers)
  • Re: Where to report bugs? (Q to MS staff)
    ... Stephan Wolf [MVP] wrote: ... > OSR used to officially accept DDK bug reports and forward them to MS ... >>Does anybody know where to report bugs found in i.e. the examples delivered ...
    (microsoft.public.development.device.drivers)
  • Re: [Wireless driver problem within Vista]
    ... Stephan Wolf [MVP] wrote: ... I assume he solved it by not calling an OID via DeviceIoControl. ...
    (microsoft.public.development.device.drivers)