Re: win v3.1 vs v4.0
- Posted by "Kat" <gertie at visionsix.com> Jul 07, 2004
- 478 views
On 7 Jul 2004, at 12:31, Wolf wrote: > > > -- caution, old stuff! > -- set Windows GUI version -- for any EU?, or only 2.3? <<<< > include file.e > include get.e > constant new_version = {4,0,0} -- or {3, 0, 10} for 3.1 > integer fn > fn = open("exw.exe", "ub") -- or pdexw.exe > if seek(fn, #C8) != 0 then > puts(2, "1st seek failed\n") > abort(1) > end if > puts(2, "Initially:\n") > ? get_bytes(fn, 3) > if seek(fn, #C8) != 0 then > puts(2, "2nd seek failed\n") > abort(1) > end if > puts(fn, new_version) > puts(1, "Now:\n") > ? new_version > close(fn) Thanks for looking that up for me, that's almost the code i used. Changing to v4.0 did help one problem i have been having, but not the drive locking problem. > ... btw, Kat, stupid question, maybe, but how many free clusters do you have > on > that partition before you start ?, tho I still think 'buggy' file name may be > causing problem... ... looking at urlmon.h, seems like a "part_of" IE, so good > luck trying to 'split' that. It's got 11 gigs free, 5 used, and the dir listing for that "full" dir is under 2 megabytes, so i didn't look at the free clusters. It's also FAT32. And no other running app had any problems saving to folders where they live on the drive. I gave up getting an answer for this one too, so i am breaking up the file list among many many folders. It's gonna be heck merging them from different applications across all those directories, instead of a 1-to-1 merge. I am using moveFile() in win32fil.ew to move them about, and so far there are no complaints of illegal filenames or lengths. I am using dos move command in another app with the same path/filename lengths (and longer), like this: system("move temp.txt "&writefilename, 2) and no problems there either. So i don't know what the folder file count error is about. Kat