Ok been trying to implement the changes you guys suggested.

First. I recently purchased VC2008 Pro. So i'm still getting used to the way it's setup. Do you know how to enable unicode on it?

Second _T and _t are unrecognized when replacing L in the code. Is there an include i need for this?

I know i'm still really new to this and probably need alot of help. But thanks in advance for any help offered.