not sure why it was giving me compilation errors before
Because of the _W functions.

Code:
LPTSTR bL;
LPTSTR is for the _A functions. LPWSTR is a char pointer for the _W functions. if you don't use _A or _W combined with CString, the compiler fixes all your problems based on the UNICODE compile switch.