|
Prev: Preventing Keyboard Installation
Next: Why can't I install Windows 2003 server checked build on HP Prolia
From: DPM on 11 Apr 2008 10:53 We're trying to write an app that will use the WinUSB driver for a USB device, but we're getting the following error in usb.h: c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : error C2146: syntax error : missing ';' before identifier 'PIRP' c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : fatal error C1004: unexpected end of file found We're using usb.h from WDK_6000.16386.061101-2205. Does anyone have any suggestions? Is there another usb.h we should be using? Thanks for your help. -- Regards, Dean
From: Doron Holan [MSFT] on 11 Apr 2008 15:26 you do not need usb.h. you probably want usbuser.h d -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "DPM" <dm(a)junk.com> wrote in message news:O%23VQYR%23mIHA.4140(a)TK2MSFTNGP04.phx.gbl... > We're trying to write an app that will use the WinUSB driver for a USB > device, but we're getting the following error in usb.h: > > c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : error C2146: syntax > error : missing ';' before identifier 'PIRP' > c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : fatal error C1004: > unexpected end of file found > > We're using usb.h from WDK_6000.16386.061101-2205. > > Does anyone have any suggestions? Is there another usb.h we should be > using? > > Thanks for your help. > -- > Regards, > Dean > >
From: DPM on 11 Apr 2008 16:03 That's interesting - usb.h is included in winusbio.h which is in turn included in winusb.h, which I thought was mandatory. Should I modify winusbio.h? Sounds risky to start modifying these files unless I know why. Thanks, Dean "Doron Holan [MSFT]" <doronh(a)online.microsoft.com> wrote in message news:%23de53nAnIHA.4712(a)TK2MSFTNGP04.phx.gbl... > you do not need usb.h. you probably want usbuser.h > > d > > -- > Please do not send e-mail directly to this alias. this alias is for > newsgroup purposes only. > This posting is provided "AS IS" with no warranties, and confers no > rights. > > > "DPM" <dm(a)junk.com> wrote in message > news:O%23VQYR%23mIHA.4140(a)TK2MSFTNGP04.phx.gbl... >> We're trying to write an app that will use the WinUSB driver for a USB >> device, but we're getting the following error in usb.h: >> >> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : error C2146: syntax >> error : missing ';' before identifier 'PIRP' >> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : fatal error C1004: >> unexpected end of file found >> >> We're using usb.h from WDK_6000.16386.061101-2205. >> >> Does anyone have any suggestions? Is there another usb.h we should be >> using? >> >> Thanks for your help. >> -- >> Regards, >> Dean >> >> >
From: Doron Holan [MSFT] on 11 Apr 2008 19:04 why do you have your own copy of usb.h instead of using the one in the wdk? -- Please do not send e-mail directly to this alias. this alias is for newsgroup purposes only. This posting is provided "AS IS" with no warranties, and confers no rights. "DPM" <dm(a)junk.com> wrote in message news:Ofyvz8AnIHA.5300(a)TK2MSFTNGP05.phx.gbl... > That's interesting - usb.h is included in winusbio.h which is in turn > included in winusb.h, which I thought was mandatory. > > Should I modify winusbio.h? Sounds risky to start modifying these files > unless I know why. > > Thanks, > Dean > > "Doron Holan [MSFT]" <doronh(a)online.microsoft.com> wrote in message > news:%23de53nAnIHA.4712(a)TK2MSFTNGP04.phx.gbl... >> you do not need usb.h. you probably want usbuser.h >> >> d >> >> -- >> Please do not send e-mail directly to this alias. this alias is for >> newsgroup purposes only. >> This posting is provided "AS IS" with no warranties, and confers no >> rights. >> >> >> "DPM" <dm(a)junk.com> wrote in message >> news:O%23VQYR%23mIHA.4140(a)TK2MSFTNGP04.phx.gbl... >>> We're trying to write an app that will use the WinUSB driver for a USB >>> device, but we're getting the following error in usb.h: >>> >>> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : error C2146: >>> syntax error : missing ';' before identifier 'PIRP' >>> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : fatal error C1004: >>> unexpected end of file found >>> >>> We're using usb.h from WDK_6000.16386.061101-2205. >>> >>> Does anyone have any suggestions? Is there another usb.h we should be >>> using? >>> >>> Thanks for your help. >>> -- >>> Regards, >>> Dean >>> >>> >> > >
From: DPM on 14 Apr 2008 12:14 Doron, I don't have my own copy. In my original post I said "We're using usb.h from WDK_6000.16386.061101-2205". That's what's frustrating - we're using files from the WDK and they're throwing errors we don't understand. BTW, we're using VS6 to build this - is that the wrong development platform? If so, what should we use instead? Thanks, Dean "Doron Holan [MSFT]" <doronh(a)online.microsoft.com> wrote in message news:uncc4hCnIHA.4536(a)TK2MSFTNGP06.phx.gbl... > why do you have your own copy of usb.h instead of using the one in the > wdk? > > -- > Please do not send e-mail directly to this alias. this alias is for > newsgroup purposes only. > This posting is provided "AS IS" with no warranties, and confers no > rights. > > > "DPM" <dm(a)junk.com> wrote in message > news:Ofyvz8AnIHA.5300(a)TK2MSFTNGP05.phx.gbl... >> That's interesting - usb.h is included in winusbio.h which is in turn >> included in winusb.h, which I thought was mandatory. >> >> Should I modify winusbio.h? Sounds risky to start modifying these files >> unless I know why. >> >> Thanks, >> Dean >> >> "Doron Holan [MSFT]" <doronh(a)online.microsoft.com> wrote in message >> news:%23de53nAnIHA.4712(a)TK2MSFTNGP04.phx.gbl... >>> you do not need usb.h. you probably want usbuser.h >>> >>> d >>> >>> -- >>> Please do not send e-mail directly to this alias. this alias is for >>> newsgroup purposes only. >>> This posting is provided "AS IS" with no warranties, and confers no >>> rights. >>> >>> >>> "DPM" <dm(a)junk.com> wrote in message >>> news:O%23VQYR%23mIHA.4140(a)TK2MSFTNGP04.phx.gbl... >>>> We're trying to write an app that will use the WinUSB driver for a USB >>>> device, but we're getting the following error in usb.h: >>>> >>>> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : error C2146: >>>> syntax error : missing ';' before identifier 'PIRP' >>>> c:\pp linkpoint fd10c usb\winusb\fd10capi\usb.h(41) : fatal error >>>> C1004: unexpected end of file found >>>> >>>> We're using usb.h from WDK_6000.16386.061101-2205. >>>> >>>> Does anyone have any suggestions? Is there another usb.h we should be >>>> using? >>>> >>>> Thanks for your help. >>>> -- >>>> Regards, >>>> Dean >>>> >>>> >>> >> >> >
|
Next
|
Last
Pages: 1 2 Prev: Preventing Keyboard Installation Next: Why can't I install Windows 2003 server checked build on HP Prolia |