GPIO use in a C(C++) programs

Feb 11, 2015 at 6:06 PM
Edited Feb 11, 2015 at 6:11 PM
Help me please.
How can i get access to the GPIO on the BBB in WCE7 through GPI-driver in a C(C++) program?
I connected to the driver through the CreateFile (), but all attempts to contact him through the DeviceIoControl () fail.
If possible, please give an example code.
Thank U.