Logged In: NO

There are two variations of the Windows API calls, ones that end in W and ones that end in A. The W is for Wide character set and the A is for 8 bit character set. In the Project properties under general configuration you need to change the character set to "not set" rather then Unicode. Also make sure _UNICODE or UNICODE is not defined. Then the A versions of the API call be used.

Windows API functions that end in W take are for use with the Wide character set. They expect arguments such as LPCWSTR* . The A versions take an arguement of the form char*