Hi,
I've got a problem calling an API.
Building...
Microsoft (R) Macro Assembler Version 6.14.8444
Copyright (C) Microsoft Corp 1981-1997. All rights reserved.
Assembling: enumusb.asm
enumusb.asm(120) : error A2006: undefined symbol : SetupDiGetClassDevs
enumusb.asm(148) : error A2006: undefined symbol : SetupDiEnumDeviceInterfaces
enumusb.asm(172) : error A2006: undefined symbol : SetupDiGetDeviceInterfaceDetail
enumusb.asm(215) : error A2006: undefined symbol : SetupDiDestroyDeviceInfoList
If I add the prototypes to the top of the source, I get "unresolved external symbol" errors instead.
Any help appreciated.
AFAIK I need to use functions in SetupAPI.
Best regards,
Astro.
include \masm32\inc\setupapi.inc
includelib \masm32\lib\setupapi.lib
include \masm32\include\setupapi.inc
includelib \masm32\lib\setupapi.lib
you were very close, though, Mike - lol
wahhh how do you know my name.. ?
it is in the path on your other thread about piping - lol
i read all your stuff
i haven't got to gui porgramming, yet (soon, though)
i want to learn a bit more about the pentium instruction sets (mmx, sse, etc)
and a few more API functions i haven't played with
then, i'll be ready to learn gui
When you're having one of those days, you just know you should have gone back to sleep. :eek
I could have sworn I already looked for that. I ended up looking in the MS Driver SDK for it.
Arrrgh!!
Thanks.
Best regards,
Astro.