Thread View: borland.public.delphi.migration
4 messages
4 total messages
Started by Gen
Thu, 15 Feb 2007 08:21
Win98 report a D2006 compiled exe to be corrupt - no problem with D7
Author: Gen
Date: Thu, 15 Feb 2007 08:21
Date: Thu, 15 Feb 2007 08:21
25 lines
2058 bytes
2058 bytes
Hello there, I migrated recently from Delphi 7 to Delphi 2006, because finally there was a Delphi better than D7. I managed to convert my project successfully and everything was going pretty smooth until this strange problem occured. The problem is that the exe compiled with D2006 does not run on Windows98 - it is reported to be corrupt (exe size ~16.5MB). So I decided to take something out of the project - about 90 forms. This time Windows said there was not enough memory, etc. and didn't start the exe again (exe size ~15.5MB). I finally decided to take out a whole module and this time the exe managed to start (exe size ~13.3MB). The project is not a small one and is "All in one" type (no dlls, just one exe), but there was not a problem with D7 (last exe size ~14.8MB). After surfing the web for information I managed to find nothing and I am confused where to start looking for the problem. The workaround was to make a separate light version of the program for Windows 98. Now I have 2 versions and everything is much more complicated. I would appreciate any help on this matter. Thank you in advance.
Re: Win98 report a D2006 compiled exe to be corrupt - no problem with D7
Author: Yorai Aminov (TeamB)
Date: Thu, 15 Feb 2007 10:19
Date: Thu, 15 Feb 2007 10:19
14 lines
1374 bytes
1374 bytes
On 15/02/2007 10:21:41, Gen wrote: > The problem is that the exe compiled with D2006 does not run on > Windows98 - it is reported to be corrupt (exe size ~16.5MB). Windows 98 has a much lower limit on resources per module. The easiest way around this is to break your project into several packages. -- Yorai Aminov (TeamB) (TeamB cannot answer questions received via email.) Shorter Path - http://www.shorterpath.com Yorai's Page - http://www.yoraispage.com
Re: Win98 report a D2006 compiled exe to be corrupt - no problem with D7
Author: Gen
Date: Wed, 21 Feb 2007 09:34
Date: Wed, 21 Feb 2007 09:34
24 lines
1908 bytes
1908 bytes
"Yorai Aminov (TeamB)" <yaminov@gmail.com> wrote in message news:xn0f2hkz23lmt49000@newsgroups.borland.com... > On 15/02/2007 10:21:41, Gen wrote: > >> The problem is that the exe compiled with D2006 does not run on >> Windows98 - it is reported to be corrupt (exe size ~16.5MB). > > Windows 98 has a much lower limit on resources per module. The > easiest way around this is to break your project into several > packages. > > -- > Yorai Aminov (TeamB) > (TeamB cannot answer questions received via email.) > Shorter Path - http://www.shorterpath.com > Yorai's Page - http://www.yoraispage.com Where can I find detailed info on Windows 98 resource limitations? I suppose it was just a coincidence that D7 compiled exe worked on Windows98 while a D2006 one didn't. Probably I have just reached the critical point on resources` size, but I really need to "prove it scientifically" :))
Re: Win98 report a D2006 compiled exe to be corrupt - no problem with D7
Author: Yorai Aminov (TeamB)
Date: Wed, 21 Feb 2007 20:09
Date: Wed, 21 Feb 2007 20:09
19 lines
1504 bytes
1504 bytes
On 21/02/2007 11:34:44, Gen wrote: > Where can I find detailed info on Windows 98 resource limitations? I don't have a specific link on that issue, but here are a couple that mention the fact that Windows 9x creates a shadow 16-bit resource for every 32-bit resource, which makes 32-bit resources suffer the same limitations as 16-bit resources: http://support.microsoft.com/kb/q182819/ http://blogs.msdn.com/oldnewthing/archive/2003/08/07/54613.aspx -- Yorai Aminov (TeamB) (TeamB cannot answer questions received via email.) Shorter Path - http://www.shorterpath.com Yorai's Page - http://www.yoraispage.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads