I have a client with a very robust and large VFP application. The app
has been modified from the original Foxpro for DOS version years ago.
There are still some DOS code (@say, etc) in the program. Recently,
the application is giving a GPF error (ie. not trappable by
try....catch...) when certain simple actions are performed. Actions
such as displaying a browse, printing to a screen, etc. The GPF
message is in GERMAN! They installed the application in English. This
seems strange. I have "band-aid" fixed the few times this has come up
by some unorthodox methods.

One time this message was coming up on a simple @ SAY line that didn't
fail except in one specific case. The @ SAY was in a global, very
often used function routine to display text on a dialog box. This code
is run hundreds of times a day. In one specific scenario, VFP would
crash with the error message in German. I tried to debug, but the code
ran fine with the debugger. So...I thought I will write the contents
of memory to a file (DISPLAY MEMORY TO...) at the line where the GPF
occurs. To my surprise, the GPF did not occur when I wrote memory to a
file. So...that writing to a text file fix, stayed in the production
version of the program since I couldn't find another solution that
worked.

But now, the GPF in German is coming up more often. It seems to me
that VFP itself is becoming unstable. Any ideas as to how to fix this
problem? The app is running under VFP 8.

Re: German error message in English version of VFP by Olaf

Olaf
Mon Jan 22 11:46:15 CST 2007

Did you distribute VFP8RDEU.DLL?
That is the german resource DLL and
if you don't want any german messages
in any case you should not ditribute this,
just the VFP8RENU.DLL.

And of course vfp8r.dll, eventually
vfp8t.dll etc... But from those
VFP8RXXX.DLLs only the ENU
one.

Bye, Olaf.



Re: German error message in English version of VFP by Dan

Dan
Mon Jan 22 12:10:43 CST 2007

I always thought GPF messages came from Windows itself.

Dan

"Olaf Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@strconv.14.de> wrote in
message news:OLh8b3kPHHA.4296@TK2MSFTNGP05.phx.gbl...
> Did you distribute VFP8RDEU.DLL?
> That is the german resource DLL and
> if you don't want any german messages
> in any case you should not ditribute this,
> just the VFP8RENU.DLL.
>
> And of course vfp8r.dll, eventually
> vfp8t.dll etc... But from those
> VFP8RXXX.DLLs only the ENU
> one.
>
> Bye, Olaf.
>



Re: German error message in English version of VFP by Olaf

Olaf
Mon Jan 22 12:19:30 CST 2007

>I always thought GPF messages came from Windows itself.

Hmm. Might be the case. But then
the OS itself would be german or
set to german language.

Still the GPF messages could also come
from the C runtime, maybe there is
a german version installed.

You can easily detect if VFP8RDEU.DLL
is in use by using functions like CDOW()
or CMONTH(), that would then shoe german
expressions.

CDOW():
Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag

CMONTH():
Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober,
November, Dezember

If that is not the case, it's rather a C runtime or OS level
problem.

At least I assume the number of GPFs should not be
related to the language of messages, perhaps you are
experiencing a degradation of the stability of your database,
eg through growth of data.

Bye, Olaf.






Re: German error message in English version of VFP by Dan

Dan
Mon Jan 22 12:45:52 CST 2007

Oooh. I can easily see some renegade installer parking a German copy of the
C++ runtime out there by accident. Murphy would make sure VFP finds it. <g>

Dan

"Olaf Doschke" <b2xhZi5kb3NjaGtlQHNldG1pY3MuZGU@strconv.14.de> wrote in
message news:Od5BBKlPHHA.3552@TK2MSFTNGP03.phx.gbl...
> >I always thought GPF messages came from Windows itself.
>
> Hmm. Might be the case. But then
> the OS itself would be german or
> set to german language.
>
> Still the GPF messages could also come
> from the C runtime, maybe there is
> a german version installed.
>
> You can easily detect if VFP8RDEU.DLL
> is in use by using functions like CDOW()
> or CMONTH(), that would then shoe german
> expressions.
>
> CDOW():
> Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag
>
> CMONTH():
> Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober,
> November, Dezember
>
> If that is not the case, it's rather a C runtime or OS level
> problem.
>
> At least I assume the number of GPFs should not be
> related to the language of messages, perhaps you are
> experiencing a degradation of the stability of your database,
> eg through growth of data.
>
> Bye, Olaf.
>
>
>
>
>