Jump to content
  • Advertisement
Sign in to follow this  
GDKnight

C++ For USB, Serial, and PCI devices?

This topic is 4844 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering if anyone had any good sites that will show how to use C++ for USB, Serial, and PCI devices. I can't seem to find how to do much in C++ with this? Thanks :)

Share this post


Link to post
Share on other sites
Advertisement
Presumably by 'use C++ for' you mean you want to communicate with such devices using the C++ language. How you do this is OS specific and may involve writing a driver. I'd need more details (i.e. OS, what you're trying to accomplish etc) before I can give you more info.

Share this post


Link to post
Share on other sites
What sort of device? Windows has drivers for certain classes of USB devices. If your device is one of those you don't need to write a driver, you can use the regular APIs which will in turn use the pre-supplied drivers.

If it's some custom hardware you'll need to write a driver that exposes it to a Win32 API.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!