
Posted:
Aug 21, 2004 @ 12:26am
by abiemann
ah ok, I should have declared:
path[512]=TEXT("\0");

Posted:
Aug 21, 2004 @ 3:10am
by Dan East
LPTSTR path[512]={0};
That allocates an array of 512 pointers to strings and sets the first pointer to 0. It does not allocate an actual string array. This is correct:
TCHAR path[512];
Dan East