text: 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
  Last edited by bogdanul2003; October 9th, 2008 at 02:27 PM.
  extern "C" //< -This will fix omission in the Win DDK header when compiled with C++ compiler
  {
  #include <inc/api/hidsdi.h> //DDK 6000
  }
  Forum Rules