Use the conversion macros (for ASCII/UNICODE compatibility), not indiscriminate casting to make the compiler STFU.
::LoadLibrary( TEXT("Component1.dll") );
Just because you managed to silence your compiler is in no way a measure of run-time success.
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Offline 7,164 posts
since Dec 2005