Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Code Page?

Status
Not open for further replies.

cslawtom

MIS
Joined
Sep 3, 2001
Messages
161
Location
HK
Hi All,

I met the following problem which I don't know whether it is the code page problem or not.

Background:
I used VFP6 (English version) to create a program. If running in Windows 2000 - Regional Settings - English, no problem detected. If the Regional Settings - changed the default to Chinese PRC, error always happened as below:

Fatal error: Exception code=C0000005
Called from - frmName.xxxx {c:\xxxx\xxx.sct}
Called from - prgName.xxxx {c:\xxxx\yyy.prg}

Any idea? many thanks.
 
HI

May be you are having an index on the name or such character based fields which could create a code page related problem.

As you yourself identified, that could be the problem. So I suggest, drop those index or indices and try. Another way is to check for the code page and reindex after converting the tables.

CPCONVERT()
CPDEBF()
and related commands could be helpful. :-)

____________________________________________
ramani - (Subramanian.G) :-)
 
Hi Ramani,

I will check the tables. On the other hand, if the program runs in VFP8, no error detected. Error only found in VFP6 and VFP7.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top