search for: init_fil

Displaying 2 results from an estimated 2 matches for "init_fil".

Did you mean: int_fil
2008 May 21
2
Search a string and modify it in a .txt file
Hi there, I use R and I would like to be able to modify a file .txt "init_file" like this one : # ---------------------------------------------------------------------------- # # Parameters A # ---------------------------------------------------------------------------- # # Parameter 1 PA1 = 15 # Parameter 2 PA2 = 3 # Parameter 3 PA3 = 2 # --------------------------...
2004 Nov 07
2
Problems with DeviceIoControl()
...rror())); } rv = DeviceIoControl( h, FSCTL_SET_COMPRESSION, (LPVOID)inBuf, sizeof(inBuf), NULL, 0, &dwBytesReturned, NULL ); if(!rv){ rb_raise(cFileError,ErrorDescription(GetLastError())); } return self; } // Inside Init_file() rb_define_method(rb_cFile,"compressed=",file_set_compressed,1); # Sample program f = File.open("temp.txt") f.compressed = true f.close But, I''m still getting "access denied" or "invalid access to memory location", depending on the open mode flag...