VOGONS


Number of files

Topic actions

First post, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

Hi all,
First of all, I discovered DosBox 0.74 yesterday, and I think I'll play again with a lot of old games... Thanks a lot
But my search is a little bit less funny !
In my office, we run an old application (not a game...) under DOS and I have to test it with Windows 7. Yesterday, with some changes in the configuration, I could run it.
But, because there is a but, some modules (EXE "linked" with a BAT) don't run and, as far as I understood, it's related with tne opened files.
I saw that the limit in DOSBox is 127 (that's clearly enough with games), and I found a patch allowing the user to define the number. But this patch doesn't seem to work with my app.
In the next [month/weeks/days/hours], is there a new version of DOSBox with a FILES parameter ?
Or do you have any advice ?

Thansk a lot,

Philippe

Reply 2 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

Yes !
How did you know ?

Reply 3 of 23, by Xelasarg

User metadata
Rank Member
Rank
Member

Have you tried ykhwong's build (http://ykhwong.x-y.net/xe/dosbox_data/143)? It supports the files command, so you can either open dosbox.conf and set files=255 or type files=255 after opening DOSBox.

"What's a paladin?!"

Reply 5 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

BTW, if it works, as we'll use it for a professional purpose, is there a fee ?

Reply 8 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

Oups, I didn't saw it before...

I'll tell my boss there's no guarantee (but I still remain impressed with DosBox)

Thanks

Reply 9 of 23, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Usually clipper programs don't need that files line. The error is misleading.
IF you search for clipper programs on the forum you will find some hints.
I recall

core=normal +
set F100=something

Water flows down the stream
How to ask questions the smart way!

Reply 10 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

Usually we use a SET CLIPPER=Fxxx
And with my app, it's SET CLIPPER=F251

I could reduce this, but no without re-writing the code...

I couldn't test the other version yet, but I'll let you know...

I just search "Clipper" in this forum (I haven't search before, as it's a game forum, but others had the same problems, and the same ideas...)
The show must go on...

Reply 11 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

It's me again !
I finally could test the modified DOSBox with files=255 specified in the configuration file.
It worked really fine. Now I have to perform further tests, and see what will be decided in the high levels...
Again, thanks a lot and congratulations !

Reply 12 of 23, by Xelasarg

User metadata
Rank Member
Rank
Member

You're welcome 😀
ykhwong's builds feature loads of experimental features and thus aren't officially supported here. Still I use them whenever possible, mainly because of the drop down menus and glide support (you should see Tomb Raider running on this thing!).
Another great alternative are gulikoza's builds, you should consider them, too, if you encounter any further problems.

"What's a paladin?!"

Reply 13 of 23, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

He's running business applications (whyever, he has been warned) and you recommend glide-enabled builds? Nice.

Reply 14 of 23, by Xelasarg

User metadata
Rank Member
Rank
Member

😀
Well, it's something like the Swiss Army knife of DOS emulation, even though he won't be needing glide emulation (I do, though).
I'd be interested in why it works, when the patch Phil1410 tried didn't and Qbix said the error wasn't due to files anyway.

"What's a paladin?!"

Reply 15 of 23, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I don't really care if he runs his app with a "hey let's grab all patches and apply them" dev build or not, if it fails once out of 100 times that one time may be the critical one.

Reply 16 of 23, by Xelasarg

User metadata
Rank Member
Rank
Member

Ah well...
My PC at work fails considerably more often than once out of 100 times, I wish it ran as stable as DOSBox does.

Phil1410 wrote:

I'll tell my boss there's no guarantee (but I still remain impressed with DosBox)

...and so he knows there may be issues. Still better than not being able to run his program at all under Win7.

"What's a paladin?!"

Reply 17 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

You know what ?
Both of you are right !
I'm very very very very (but really very) glad to run my app under Win7.
And I'll explain all the "but" to my boss
In fact, the fight is not over, as the same Clipper app could work with DBF files (native Clipper) and Oracle tables. I haven't tested this point yet...
Reading the different posts on this forum, I found another option I will test too, VDMSound... But it will be more difficult to explain to my boss that we'll run our app within a sound emulator...
But that's please me with my job : do what it's impossible to do...

For me, the best choice, if a complete rewriting (with modern tools) of the app is impossible, is recompile all with 32bits compiler like xHarbour. But we still have the graphic problem, as our app is build with a third-party tool that manages all the screens. So, all screens should be rewritten. That's only the 12th year I tell this... Shouting in the desert...

And, to be honest, as I see how it works, I'm not sure they won't change their mind again and ask for other tools, tests, ideas...

Anyway, thanks again and congratulations for your job ! It's amazing !

Reply 18 of 23, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Try some vmware/virtualbox/vpc solution or bochs&co.

Reply 19 of 23, by Phil1410

User metadata
Rank Newbie
Rank
Newbie

It's a possibility too (and my first answer when they asked me to do this job), but it seems they would prefer to get rid off 98/XP.