USB API for Windows [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a standard API for USB devices on windows? I know classes will have an impact on them but I cant find a standard one/list at all?

Yes there is.
Its called WinUSB - http://msdn.microsoft.com/en-us/library/windows/hardware/ff540196(v=vs.85).aspx
Sample WinUSB code found here - http://msdn.microsoft.com/en-us/library/windows/hardware/ff540174(v=vs.85).aspx

All USB devices has unique Pid, Vid. You can use generic library to interact with its end points for me I am using cypress library which has 2 versions for managed and unmanaged languages.
http://www.cypress.com/?rID=34870
Keep in mind the license for this library is free of charge if used with cypress powered devices only. But you can check it and use native APIs to achieve the same behavior but it supports some good features epically high speed transfer to bulk end points.
Also check this question
Working with USB devices in .NET

Related

How to interact with a smart card in C/C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Is there any open framework written in C/C++ which helps in interacting with smart card devices, here my aim is to create such a system which is platform independent by in C/C++.
I have been trying to search such Libraries but all i came across is Java based frameworks like OCF and Java Smart Card I/O API.
Any help is appreciated.
Indeed there are methods like SCardEstablishContext, SCardConnect, SCardTransmit, which you use to establish communication with the smart card, and then send commands to the card, on the APDU level.
See also here

Is there any C++ library to work with WMI? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm working on a big project that have to poll remote WMI counter. I have to code a Win32 app in C++ to query WMI from remote Windows systems. So, Is there any C++ library (free or paid) help me to work with WMI ? Please help me.
Thanks so much :)
You can use the WMI Delphi Code Creator to generate C++ code to access the WMI (Windows Management Instrumentation) classes, events and methods.
AFAIK, there are no off the shelf libraries (think STL) for accessing WMI. You'll have to do it manually. There is a brief outline on MSDN as to what a program is expected to do in order to access these functions. There is also some example code related to the article here.

Workflow engine for C/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking for a plain C/C++ workflow engine with support of BPML/BPEL. It should be native code without references to Java or .NET. It may or may not be open source.
In the past I've developed a BPMS framework based on C++ Workflow Engine.
At the moment I've extracted Workflow Engine from the framework and my roadmap is to implement xpdl standard and cross platform (now is only Windows).
You can find code here and download a Business Process modeler based on Visio.
Let me know your impressions.
There is one base on Microsoft WF it called Criteria but its low level.

Find available network interfaces in C/C++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Does anyone know a C/C++ code for finding the network interfaces available?
I've been looking for some code, but most times they are quite complex. Is there a simple way to do this?
See the getifaddrs man page. There is an example program towards the end.
If you're looking for this in context of a desktop application, and you want to be notified of changes (e.g. interfaces connecting/disconnecting), consider using DBus to monitor NetworkManager.
http://projects.gnome.org/NetworkManager/developers/api/09/spec.html
You can enumerate interfaces, as well as interface-specific things (like available and connected WiFi access points, configured-but-not-dialed PPP links, and so forth), and if anything changes, you'll receive a notification over the DBus.
(If this is for something more like a server program, where you expect the network configuration to remain more stable, then things like getifaddrs are possibly more appropriate.)

Easy to use SNMP client library for c++? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
What's an easy to use SNMP client library for c++?
SNMP++ is also a nice and open source library for C++ developers.
http://www.agentpp.com/api/cpp/snmp_pp.html
Probably the best choice is net-snmp. Note that the library has "C" linkage but will work just fine with C++.
I have found that Net-SNMP does not support multi-threading with v3 type queries. So if you are writing an SNMP monitoring tool that will be polling multiple hosts then you will need to take this into consideration.
OpenSNMP contains a complete multi-threaded implementation of SNMPv3 that is done in C++ (complete with classes, etc). It's not heavily used and maintained though.
Net-SNMP with v3 over TLS/DTLS is likely to be threadsafe as it's really SNMPv3/USM that contains threading issues. I think.