Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FPD26 Memory Help
Message
From
08/08/1999 08:30:18
 
 
To
08/08/1999 05:12:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251059
Message ID:
00251227
Views:
10
>>>>How could I optimize memory while running FPD26 from within Win98?
>>>>Should I use foxproX or foxpro?
>>>>Are there MS-DOS settings that would help?
>>>>
>>>>I have a FPD26 application that calls Quicken for DOS (from
>>>>within FPD26) which runs fine. When I installed it on a new
>>>>Pentium machine running WIN98, I can't call Quicken - not enough
>>>>memory.
>>>
>>>Use FoxproX, only Himem.sys (i.e. it goes fine with the memory W98 will give it) and make sure no other memory manager is in use - not even emm386 - because FPD has its own memory manager, and uses XMS.
>>>
>>
>>Actually, by modifying the PIF used to launch the executable, you can get around the direct settings in CONFIG.SYS - you can tell Win9x to simply only make XMS to the VDM runnign the application (my preference is to make DPMI memory available; I use some stuff that's DPMI-aware, as is the extender used by FPDOS 2.6).
>
>That's what I used to do until I found that the plain vanilla memory managing of W9x works. Had to tweak it like that only a couple of times, and yet even then it was because there were some non-standard things in config/autoexec (legacy hardware's drivers and such).

It's a very workable solution as long as nothing you run is going to need EMS, and we're pretty lucky at this point that there's not much (aside from people still married to FPDOS 2.0) that really depends on EMS to be available. As we move further and further away from old DOS apps that were too big to live in conventional memory, and relied on EMS to make a bigger memory space available, the whole issue of EMS/XMS will become moot.

Now if we can just finish the move away from DOS, we'll all be much happier campers...I'd be a much happier camper if I'd just convince my clients that it's time to retire their old DOS apps. It'd make supporting apps easier if people would give up DOS compatibility as an issue (I heard from a client that still runs an app I wrote for them in FoxBase+ last week; they want enhancements made to an application that I haven't looked at in ~8 years now, but don't want to hear about porting it to a Windows environment and a current development environment. And while I'm at it, can I assure them it'll run OK under Win2K?) Of, course, I keep hoping that ISA will go away, too, so that PnP would work better, too.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform