Page 1 of 1

Problem opening a file with fopen...

PostPosted: Aug 6, 2004 @ 8:51pm
by ilanprod

PostPosted: Aug 6, 2004 @ 9:17pm
by Tala

PostPosted: Aug 6, 2004 @ 9:21pm
by Kzinti

PostPosted: Aug 6, 2004 @ 9:24pm
by ilanprod

PostPosted: Aug 6, 2004 @ 9:46pm
by Kzinti

PostPosted: Aug 6, 2004 @ 11:29pm
by fzammetti

PostPosted: Aug 21, 2004 @ 12:12am
by abiemann

PostPosted: Aug 21, 2004 @ 12:26am
by abiemann
ah ok, I should have declared:

path[512]=TEXT("\0");

PostPosted: 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