 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Karen Guest
|
Posted: Mon May 03, 2004 8:54 am Post subject: Error running Delphi 7 exe on Windows 98 |
|
|
I get the following error if I ran a Delphi 7 exe on a Windows
98 platform :
Exe file appears to be corrupt. Windows can not run this program
because it is an invalid format.
The exe runs fine on Windows 2000.
Anybody knows what the problem may be ?
|
|
| Back to top |
|
 |
Peter Below (TeamB) Guest
|
Posted: Mon May 03, 2004 6:03 pm Post subject: Re: Error running Delphi 7 exe on Windows 98 |
|
|
In article <409608b5$1 (AT) newsgroups (DOT) borland.com>, Karen wrote:
| Quote: | I get the following error if I ran a Delphi 7 exe on a Windows
98 platform :
Exe file appears to be corrupt. Windows can not run this program
because it is an invalid format.
The exe runs fine on Windows 2000.
Anybody knows what the problem may be ?
|
This is probably a problem with too many named resources in the
program. Win98 has limits in this area that Win NT platforms do not
have. Named resources in a Delphi program are things like forms,
frames, datamodules. There are also limits on the maximal size of a
resource, which you may hit in forms rife with useless eye candy <g>.
As an experiment you can try to build the program with run-time
packages. If it then runs in Win9x (after you have installed the needed
packages, of course) your problem is likely as stated above, and the
only known cure is to split the app into several separate executables
(that is what building with packages does).
--
Peter Below (TeamB)
Use the newsgroup archives :
http://www.mers.com/searchsite.html
http://www.tamaracka.com/search.htm
http://groups.google.com
http://www.prolix.be
|
|
| Back to top |
|
 |
Fabio Dell'Aria Guest
|
Posted: Thu May 06, 2004 9:02 am Post subject: Re: Error running Delphi 7 exe on Windows 98 |
|
|
"Peter Below (TeamB)" <100113.1101 (AT) compuXXserve (DOT) com> wrote
| Quote: | In article <409608b5$1 (AT) newsgroups (DOT) borland.com>, Karen wrote:
I get the following error if I ran a Delphi 7 exe on a Windows
98 platform :
Exe file appears to be corrupt. Windows can not run this program
because it is an invalid format.
The exe runs fine on Windows 2000.
Anybody knows what the problem may be ?
This is probably a problem with too many named resources in the
program. Win98 has limits in this area that Win NT platforms do not
have. Named resources in a Delphi program are things like forms,
frames, datamodules. There are also limits on the maximal size of a
resource, which you may hit in forms rife with useless eye candy <g>.
As an experiment you can try to build the program with run-time
packages. If it then runs in Win9x (after you have installed the needed
packages, of course) your problem is likely as stated above, and the
only known cure is to split the app into several separate executables
(that is what building with packages does).
|
You can try EurekaLog ([url]www.eurekalog.com)[/url].
EurekaLog is an add-in tool that gives to your application (GUI,
Console, Web, etc.) the ability to catch every exception (even those
raised by memory leaks) and every infinite-loops/deadlock bugs,
generating a detailed log of call stack (with unit, class, method and
line #), showing and sending it back to you via email.
--
Best regards...
Fabio Dell'Aria.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|