You can help CodeWalrus stay online by donating here. | New CodeWalrus | Old (dark mode) | Old (light) | Discord server

C windows api

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

0
b/PC, Mac & Vintage Computers publicado por u/Snektron January 13, 2015, 11:19:15 PM
So im trying to send some bytes trough an usb port in C. i'm using some
library (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).

This image is quite appropriate of how im feeling right now.
Last Edit: January 13, 2015, 11:20:51 PM by Cumred_Snektron
Inicia sesión o crea una cuenta para dejar un comentario
u/Yuki January 14, 2015, 01:17:34 AM
The Windows API is indeed not quite the best place to start if you want to do C.
u/Dream of Omnimaga January 14, 2015, 01:33:43 AM
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.
u/Snektron January 14, 2015, 07:56:20 AM
Oh did i start the topic in on-calc? Hm that must have been
A misclick :/
u/Dream of Omnimaga January 14, 2015, 07:58:37 AM
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 :)
u/Snektron January 14, 2015, 08:20:43 PM
So i've decided to make this project in java, so this question is no longer relevant :P
Start a Discussion

b/PC, Mac & Vintage Computers

Computer programming discussion and project showcase

132
Topics
Explore Board
Website statistics


MyCalcs | Ticalc.org | Cemetech | Omnimaga | TI-Basic Developer | MaxCoderz | TI-Story | Casiocalc.org | Casiopeia | The Museum of HP Calculators | HPCalc.org | CnCalc.org | Music 2000 Community | TI Education | Casio Education | HP Calcs | NumWorks | SwissMicros | Sharp Calculators
Powered by EzPortal