Search:

Type: Posts; User: CommonTater

Search: Search took 0.07 seconds.

  1. Replies
    11
    Views
    19,110

    Yep, he's likely to end up with something like...

    Yep, he's likely to end up with something like (LPCWSTR)L"string text"

    That L prefix or _TEXT() wrapper, makes all the difference.

    When I first started out with Unicode --aside from a 5...
  2. Replies
    11
    Views
    19,110

    HMODULE Module =...

    HMODULE Module = LoadLibrary(LPCWSTR("C:\\RedQueen.dll"));


    Your typecast is wrong...


    HMODULE Module = LoadLibrary((LPCWSTR)"c:\\RedQueen.dll");


    if you're in C or C++ what you most...
Results 1 to 2 of 2