Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

For Delphi programmers! fatal exception...

Status
Not open for further replies.

aNdreiBuuu

Full Member level 4
Full Member level 4
Joined
Apr 30, 2001
Messages
223
Helped
25
Reputation
50
Reaction score
12
Trophy points
1,298
Location
moon
Activity points
1,796
IF yoiu are using edits component with mask (Numeric, data, etc) be carefull at regional setings. For example if decimal points is set to ',' and your program use '.', the application will generate fatal exception... and is almost impossible to debug...

so in dpr project add this lines to fix that:
Application.UpdateFormatSettings:=False; //by default is TRUE
DecimalSeparator:=your format; //read about sysutils routines
ShortDateFormat:=your format;
Application.Initialize;
.....

you have to include also sysutils...

hope this helps,
//a
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top