Someone suggested I should use this:
TCHAR junk[50];
GetModuleFileName( NULL, junk, 50 );
I had it write out to a file for testing and it just said the path was "\".
I was wondering if maybe I did this wrong, or if theres a different way of doing it.