boby
Wed Jun 20 12:14:18 CDT 2007
yes indeed I've just tested on Vista x64 and it's working fine, so I
guess there is a bug on XP x64.
Thanks for your help !
Best regards,
Boby
John Hensley a scris:
> Here is the result when I build the app for 32 bits and run the 32 bit app on
> a Vista x64 machine.
>
> Size needed=516, result=1, lastError=0x0
>
>
> I don't have an XP x64 system available so I can't try it on that platform.
>
> --
> John Hensley
> www.resqware.com
>
>
> "boby" wrote:
>
> > Can you please try it on XP x64 ?
> >
> > On x32 this function is working fine :), on x64 only in a 64-bit
> > application, when I'm using it in a 32-bit application it returns 0
> > and it sets dwSizeNeeded to 0.
> >
> > Thanks for your help !
> >
> > Best regards,
> > Boby
> >
> > John Hensley a scris:
> > > I built the project for Win32 and EnumDeviceDrivers() is returning 1 on the 2
> > > XP x32 and 1 Vista x32 machine that I ran it on. Here is a sample of output
> > > displayed in the result dialog on one of the machines.
> > >
> > > Size needed=668, result=1, lastError=0x0
> > >
> > > Have you seen EnumDeviceDrivers() return 0 on more than one machine? When
> > > the function returns 0 what is it returning in dwSizeNeeded?
> > >
> > > --
> > > John Hensley
> > > www.resqware.com
> > >
> > >
> > > "boby" wrote:
> > >
> > > >
> > > > You can download a test project from the following link:
> > > >
> > > >
http://codeguru.earthweb.com/forum/showthread.php?p=1589583#post1589583
> > > >
> > > >
> >
> >