Re: Explicit Linking Problem
There is a function called GetLogicalDrives() in winbase.h which your project probably includes. Just choose a different name.
s
Re: Explicit Linking Problem
Ah my foolishness :/
Thanks for the solution.
Re: Explicit Linking Problem
Besides, kernel32.dll is always loaded into any process, so you'd better use GetModuleHandle instead. :)
And once you use LoadLibrary, please don't forget to FreeLibrary as complementary action. This must become your the most basic instinct to treat resources right. :)