[Bug 23937] [The Master Genealogist 4.0d] Perhaps the DPMI free memory information needs some hard limits.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 10 00:15:26 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=23937

--- Comment #2 from nathan.n <saturn_systems at yahoo.com> 2010-09-10 00:15:26 CDT ---
Ok Found a way to get TMG4 running:

Create a "config.fpw" (or download the attachment ) with the following
settings:
-----------------
TITLE=The Master Genealogist

MVCOUNT=3000

CODEPAGE=AUTO

POINT="."

MEMLIMIT = 5, 16384 ,262144
-----------------
And copy "config.fpw" to the "c:\TMGW" directory before starting the program.

Only question is why TMG4 works fine on Window 3.1 thru Windows XP without
needing this change?
--
Used the following useful tidbits to find the workaround:
-----------
http://news.rootsweb.com/th/read/TMG/2002-05/1020890723

RootsWeb: TMG-L RE: [TMG] Installation trouble - Suggestions . . . .:

From: "Mycek-Memoli, Anne"
Subject: RE: [TMG] Installation trouble - Suggestions . . . .

Date: Wed, 8 May 2002 16:45:23 -0400 


<snip>


4. When Ultimate Family Tree started working, and TMG still wasn't working

(both are FoxPro for Windows Apps), I looked for similarities, and found

CONFIG.FPW files associated with both of the programs. I printed a copy of

the Ultimate Family Tree - CONFIG.FPW file, and started adding parameters to

the TMG - CONFIG.FPW file, and after some trial and error, finally got TMG

working.



The parameters that I tweaked (in the TMG - CONFIG.FPW file) were:



MEMLIMIT=50 (it was originally set to 100, which means 100% of memory)



<snip>


So my Config.FPW file looks like this:



TITLE=The Master Genealogist

RESOURCE = TMGWUSR.DBF

MVCOUNT = 3000

CODEPAGE = AUTO

POINT="."

MEMLIMIT=50



<snip>
--------------------------------------------------
Which lead me to 

http://www.tek-tips.com/viewthread.cfm?qid=1043754&page=6

Microsoft: FoxPro (old versions 1 to 2.6) Forum(thread182-1043754)
 Error: Too many memory variables 

rgbean (Programmer)      

19 Apr 05 15:12

You may need the other two parameters for MEMLIMIT. I use:

CODE

MEMLIMIT = 80, 2048, 16384

Remember that the first number is the percentage of available memory to use,
the second is the minimum RAM memory required (in K's), and the third is the
maximum RAM requested. FP always uses the lesser of the first and third, and in
my experience, if you give it more than 16MB, it can also fail.



Unless you've changed the number of varibles required in the program, 1024
should be sufficient.



One last thing are you sure you are actually using this CONFIG.FPW? Do you
explicitly use this CONFIG by using the command line switch -c in your
shortcut?


---
And:
http://rickschummer.com/blog/2008/06/vfp-include-configfpw-in-exe.html

Rick Schummer 
VFP: Include Config.FPW in EXE 
Sunday, June 22, 2008

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list