E' questo che intendevi ?codice:HANDLE handle; handle = CreateFile("Pippo.txt", // file to open GENERIC_READ, // open for reading FILE_SHARE_READ, // share for reading NULL, // default security OPEN_EXISTING, // existing file only FILE_ATTRIBUTE_NORMAL, // normal file NULL); // no attr. template