So im trying to send some bytes trough an usb port in C. i'm using some
library (http://www.signal11.us/oss/hidapi/ (http://www.signal11.us/oss/hidapi/)) which does most of
the work. At least it should be. When i put the c file for windows in
my project, it gives some errors under "SetupDiGetClassDevsA"
and more from "setupapi". Apparently i need to link this DLL with my project.
I'm using MinGW and code in Eclipse (pls no h8). Note that ive never
done PC C before (only some GLSL and SDCC).
(http://i.imgur.com/xVyoSl.jpg)
This image is quite appropriate of how im feeling right now.
The Windows API is indeed not quite the best place to start if you want to do C.
I assume you mean TI-Nspire or Casio C since this is in the calculator forums, right? Just making sure in case there is any confusion from people not checking the sub-forum and to make sure this is in the right sub-forum.
Oh did i start the topic in on-calc? Hm that must have been
A misclick :/
Yeah it was there at first. I wasn't sure if I should move it at first because I'm unfamiliar with C and I wasn't sure if you wanted to create an Ndless program.
No problem, though. Stuff like that happens :)
So i've decided to make this project in java, so this question is no longer relevant :P