windows 98 & teechart 7 issue

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
quill
Newbie
Newbie
Posts: 1
Joined: Tue Jul 20, 2004 4:00 am

windows 98 & teechart 7 issue

Post by quill » Wed Aug 18, 2004 12:27 pm

We are using TeeChart 7, ReportBuilderPro 7 & Delphi 7.

When we run an app that has teechart functionality on a windows 98 pc we get the following error: "Error starting program, exe file appears to be corrupt". Immediately after, we get this message: "Windows cannot run the program because it is an invalid format"

The app runs fine on 2000/XP

If we remove all teechart functionality and recompile, the app launches ok on windows 98.

Any help much appreciated.

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Thu Aug 19, 2004 12:09 pm

Hi.

Really strange. It's possible this is another variant of the Win9X resource problem. While searching through my database here is the only reference to Windows 98/Me specific error (my and customer comments):
As far as I found out there is a limit for the total length of all resource names in 9X/ME. (see knowledge base article below). If I delete all of your bitmaps from the EXE file with an external resource toolkit (ResHack.exe) then the file runs Okay on Win98. It appears not to be an problem with TeeChart. I guess we have been close to the limit in the the time and now with the new version of TeeChart we went over it.

Unfortunatelly we cannote divide our program into packages because it has to be one file (for distribution reasons with large amount of
workstations).

###### the ms knowledge base article I found ######

http://support.microsoft.com/support/kb ... 1/4/42.ASP
Marjan Slatinek,
http://www.steema.com

Post Reply