// JP opened flex table

Click to See Complete Forum and Search --> : Need some answers


bogdanul2003
October 9th, 2008, 02:58 PM
I'm trying to build an oscilloscope witch will communicate with the PC trough USB. Is it possible to make data exchange trough USB from user-space without writing drivers? (in windows XP)
I understood that to make things easier I have to make my oscilloscope a HID. If i'll do that i'll still have to write kernel code?


I'm trying to build the next code

#include "windows.h"
#include "setupapi.h"
#include "hidsdi.h"

void main()
{
GUID hidGUID;
HidD_GetHidGuid (&hidGUID);
return;
}

And it gives this error test.obj : error LNK2001: unresolved external symbol "void __stdcall HidD_GetHidGuid(struct _GUID *)" (?HidD_GetHidGuid@@YGXPAU_GUID@@@Z)


I'he included hid.lib and setuapi.h Are there othere libraries I should include to make this work?

10x

//JP added flex table