Prev: OpenDesktop in a Windows service fails, GetLastError returns183
Next: VS 2008 - NMAKE : : macro '$@' is illegal in the context of batchrule '.c.obj'
From: Levis on 3 Apr 2008 02:25 Boris wrote: > "Alex" <h4cker_rus(a)hotmail.com> wrote in message > news:ft013m$e81$1(a)aioe.org... >> Hello! >> I want to list all physical drives on my machine... >> anybody knows how to do this? >> >> >> (win32 api, c++) > WMI: Win32_DiskDrive - just call WMI from C++ - it's just COM API. > > Boris Always avoid WMI and use the method mentioned above. It is slow and not installed natively on OS like NT.
From: Sebastian G. on 3 Apr 2008 05:17 Levis wrote: > Boris wrote: >> "Alex" <h4cker_rus(a)hotmail.com> wrote in message >> news:ft013m$e81$1(a)aioe.org... >>> Hello! >>> I want to list all physical drives on my machine... >>> anybody knows how to do this? >>> >>> >>> (win32 api, c++) >> WMI: Win32_DiskDrive - just call WMI from C++ - it's just COM API. >> >> Boris > > Always avoid WMI and use the method mentioned above. > It is slow and not installed natively on OS like NT. Microsoft says we shouldn't care about NT4- and Win9x/ME any more, but rather base everything on the Win32 API as in NT5.
From: Levis on 3 Apr 2008 15:54 Sebastian G. wrote: > Levis wrote: >> Always avoid WMI and use the method mentioned above. >> It is slow and not installed natively on OS like NT. > > > Microsoft says we shouldn't care about NT4- and Win9x/ME any more, but > rather base everything on the Win32 API as in NT5. Customers decide, not Microsoft. Many are running NT4.
From: Sten Westerback (MVP SDK 2005-6 :) on 4 Apr 2008 13:02 "Levis" <levis(a)clarck.com> wrote in message news:ft3c4e$qjm$1(a)news.albasani.net... > Sebastian G. wrote: >> Levis wrote: > >>> Always avoid WMI and use the method mentioned above. >>> It is slow and not installed natively on OS like NT. >> >> >> Microsoft says we shouldn't care about NT4- and Win9x/ME any more, but >> rather base everything on the Win32 API as in NT5. > > Customers decide, not Microsoft. > Many are running NT4. ... and they are stupid as older OS's won't get any hotfixes.... ;) - Sten
From: Alex on 7 Apr 2008 03:02
Hi i have a linker when using SetupDi functions (i work under vs2008) can u help me? which library contains this functions? :) |