B
bigbinc
Is it possible to open a shared folder, for example
\\xyz\ljfdskj\ksjdl
Note: none of the examples below work?
/*
FILE *f = fopen("\\Devpmt2\\Berlin\\aceTest1.txt", "w");
fprintf(f, "This is a test from ACE");
fclose(f);
*/
//int handle= _open("\\devpmt2\\berlin\\testing1.txt", O_BINARY |
O_WRONLY | O_TRUNC | O_CREAT, 0600);
int handle = _open("O:\\acetesting1.txt", O_BINARY | O_WRONLY |
O_TRUNC | O_CREAT, 0600);
cout << handle << " The handle" << endl;
\\xyz\ljfdskj\ksjdl
Note: none of the examples below work?
/*
FILE *f = fopen("\\Devpmt2\\Berlin\\aceTest1.txt", "w");
fprintf(f, "This is a test from ACE");
fclose(f);
*/
//int handle= _open("\\devpmt2\\berlin\\testing1.txt", O_BINARY |
O_WRONLY | O_TRUNC | O_CREAT, 0600);
int handle = _open("O:\\acetesting1.txt", O_BINARY | O_WRONLY |
O_TRUNC | O_CREAT, 0600);
cout << handle << " The handle" << endl;