look i have this problem
Code:
int let;
 CString browse_file_name = " \\system\\texFile.TXT";

const char * argument = browse_file_name.Getbuffer(browse_file_name.GetLength());

FILE * file = fopen(argument,"r");
	if(!file)
	{
		let = GetLastError();
		MessageBox(_T("ERROR! file not found ..."));
		exit(0);
	}
	else
		MessageBox(_T("OK File found ..."));
now the thing is that the variable argument does not get the whole path , just "\" only....
please help

i am using microsoft embedded vc++ compiler.

Last edited by shabbir; 11Oct2007 at 13:01.. Reason: Code block