Alternatively, join us on Discord.

C windows api

Started by Snektron, January 13, 2015, 11:19:15 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Snektron

January 13, 2015, 11:19:15 pm Last Edit: January 13, 2015, 11:20:51 pm by Cumred_Snektron
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.
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Juju

The Windows API is indeed not quite the best place to start if you want to do C.
Read Zarmina!
YUKI-CHAAAANNNN
In the beginning there was walrii. In the end there will be walrii. All hail our supreme leader :walrii: --Snektron



if you wanna throw money at me and/or CodeWalrus monthly it's here

DJ Omnimaga

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.

Snektron

Oh did i start the topic in on-calc? Hm that must have been
A misclick :/
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


DJ Omnimaga

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 :)

Snektron

So i've decided to make this project in java, so this question is no longer relevant :P
Legends say if you spam more than DJ Omnimaga, you will become a walrus...


Powered by EzPortal