Original Post
My application is locking up when it hits this chunk of code. Can't seem to notice why though. Maybe I am overlooking something. It stalls at exactly that line of code. Can anyone see anything out of the ordinary with it? Thanx in advance!
TCHAR* lpCurDir;
unsigned int bufSize, sizeofDir = 260;
lpCurDir = new TCHAR[sizeofDir];
bufSize = GetCurrentDirectory(sizeofDir, lpCurDir);