Qhimm.com Forums

Miscellaneous Forums => Scripting and Reverse Engineering => Topic started by: Anonymous on 2001-08-28 07:28:00

Title: Argh! not another problem!!! (This one may be universal)
Post by: Anonymous on 2001-08-28 07:28:00
Ok, so I've finally accepted that I wont be able to run Ultima on this comp for a while, so I loaded it up on my old windows 95 machine. After transferring an ocx (mscomctl), and that Reg program, It finally loaded. I went to open a program, selected one, and clicked [OK]. Then, I got this error:

Run-time error '20476'.

The FileName buffer is too small to store the selected file name(s). (Increase MaxFileSize)

I could be wrong, but it seems to me that since it gave a suggestion, MaxFileSize could be a computer setting. I shortened the filename to 'z.p' and the same message occured. Maybe Windows 95 requires more than just that ocx to run? there are other files with the same name. (Mscomctl.dep, .srg, .OCA). Or maybe its something that must be set in the program for pre-win 98 systems to run it properly? Anyway, Im assuming one of you guys will know.

Title: Argh! not another problem!!! (This one may be universal)
Post by: Anonymous on 2001-08-28 07:32:00
Update> I copied the other files. Still doesnt work.
Title: Argh! not another problem!!! (This one may be universal)
Post by: Alhexx on 2001-08-29 00:02:00
Oh man, do you have always problems that nobody else has?
Okay, I'm going to take a look at that maxfilesize thingy, but I'm not sure. *Perhaps* it's b'cause of running Win95 - I have only tested it on Win98 platform.

If I find sth in my MSDN files, I'll post or upload sth.

- Alhexx

- edit -
Just checked that. MaxFileSize is the value for the max count of the file size   :wink:
That means: all character, including the path. Default is 256.
That means that the length of the whole path of the file plus the filename itself may not be longer than 256 chars.
Try to put the file on C: and load it from there...

- edit 2 -
Ans the MaxFileSize value isn't system defined - I can change it via VB. I'll do that in the next Version of Ultima, if I don't forget it.

[This message has been edited by Alhexx (edited August 28, 2001).]

Title: Argh! not another problem!!! (This one may be universal)
Post by: Anonymous on 2001-08-29 01:52:00
aight. thnx, alhexx.
Title: Argh! not another problem!!! (This one may be universal)
Post by: Alhexx on 2001-08-29 18:41:00
Does it work? Yeah?

- Alhexx

Title: Argh! not another problem!!! (This one may be universal)
Post by: Anonymous on 2001-08-30 02:21:00
nope.