|
Prev: How to differentiate between IPV6 address and NetBIOS name?
Next: Please give me useful links for driver signing
From: HyperEngineer on 14 May 2008 10:39 What is the difference between usbiodev.h and usbiodef.h? I have sample code that calls for usbiodev.h. I have installed WDK and it has usbiodef.h. Should I change the #include statement to call for usbiodef.h? thanks, -- If it aint broke, it probably needs improvement.
From: Doron Holan [MSFT] on 14 May 2008 12:57 what build errors do you get if you make the switch? -- 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. "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com... > What is the difference between usbiodev.h and usbiodef.h? I have sample > code > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h. > Should I change the #include statement to call for usbiodef.h? > > thanks, > > -- > If it aint broke, it probably needs improvement.
From: HyperEngineer on 14 May 2008 17:20 If I keep the usbiodev.h I get an error that it can't find the file, because the file is not on my machine. When I use usbiodef.h I get an error saying that _In_opt_ is an undeclared identifier in new.h line 60. -- If it aint broke, it probably needs improvement. "Doron Holan [MSFT]" wrote: > what build errors do you get if you make the switch? > > -- > 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. > > > "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message > news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com... > > What is the difference between usbiodev.h and usbiodef.h? I have sample > > code > > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h. > > Should I change the #include statement to call for usbiodef.h? > > > > thanks, > > > > -- > > If it aint broke, it probably needs improvement. > >
From: Doron Holan [MSFT] on 14 May 2008 19:23 _In_opt_ only shows up if you are using the VS 2008 C++ compiler and headers to compile code. the error would be coming from some other header though, usbiodef.h does not contain any SAL whatsoever. 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. "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message news:B688270C-11D5-405B-9FB1-E84160E6262E(a)microsoft.com... > If I keep the usbiodev.h I get an error that it can't find the file, > because > the file is not on my machine. When I use usbiodef.h I get an error > saying > that _In_opt_ is an undeclared identifier in new.h line 60. > > -- > If it aint broke, it probably needs improvement. > > > "Doron Holan [MSFT]" wrote: > >> what build errors do you get if you make the switch? >> >> -- >> 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. >> >> >> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message >> news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com... >> > What is the difference between usbiodev.h and usbiodef.h? I have >> > sample >> > code >> > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h. >> > Should I change the #include statement to call for usbiodef.h? >> > >> > thanks, >> > >> > -- >> > If it aint broke, it probably needs improvement. >> >>
From: HyperEngineer on 15 May 2008 09:09
Nolan, Yes, I am using the VS 2008 C++ compiler. I have installed the WDK versiion 6001.18001. This gave me usbiodef.h. If I need usbiodev.h, where do I get it? The _In_opt_ identifier is used in "new.h", which is not my header but a Microsoft header. It has #include <crtdefs.h>. Where is _In_opt_ declared? How do I fix this problem? Thanks for your help, Dennis -- If it aint broke, it probably needs improvement. "Doron Holan [MSFT]" wrote: > _In_opt_ only shows up if you are using the VS 2008 C++ compiler and headers > to compile code. the error would be coming from some other header though, > usbiodef.h does not contain any SAL whatsoever. > > 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. > > > "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message > news:B688270C-11D5-405B-9FB1-E84160E6262E(a)microsoft.com... > > If I keep the usbiodev.h I get an error that it can't find the file, > > because > > the file is not on my machine. When I use usbiodef.h I get an error > > saying > > that _In_opt_ is an undeclared identifier in new.h line 60. > > > > -- > > If it aint broke, it probably needs improvement. > > > > > > "Doron Holan [MSFT]" wrote: > > > >> what build errors do you get if you make the switch? > >> > >> -- > >> 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. > >> > >> > >> "HyperEngineer" <HyperEngineer(at)comcast(dot)net> wrote in message > >> news:77339E4C-FC02-495C-B3DC-7CC7A842D902(a)microsoft.com... > >> > What is the difference between usbiodev.h and usbiodef.h? I have > >> > sample > >> > code > >> > that calls for usbiodev.h. I have installed WDK and it has usbiodef.h. > >> > Should I change the #include statement to call for usbiodef.h? > >> > > >> > thanks, > >> > > >> > -- > >> > If it aint broke, it probably needs improvement. > >> > >> > > |