Delphi exception under WinNT4

Bug reports will be moved here when the described bug has been fixed

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Delphi exception under WinNT4

Post by *Postkutscher »

This error occures after installing TC7.5PB4 over the old version and is without wincmd.ini also reproducible.
Unfortunately that computer have not an internet connection so I type the text of the error. I hope that I type correctly.

Delphi exception: EBitsError
Stack trace:
77F1CA1B 00413DE4 77E7280D 77E7E435
00442AB1 00413DE4 77E71315 77E71A88
77F75E69 77E712E6 77E71EFE 0041942D
00419458 00419612 00694B40 77F1AFBF

Press Ctrl+C.......


TC7.5PB4 under WinNT4 SP6 rus
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Sorry, cannot reproduce. Tested with Windows NT4 version 4.00.1381 English, TC 7.5 public beta 4, fresh wincmd.ini.

The error usually means out of resources, Delphi couldn't load the bitmap bits for an icon or so. What color depth do you use? I tested with 1024x768 with hicolor (65536 colors).
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

ghisler(Author) wrote:The error usually means out of resources, Delphi couldn't load the bitmap bits for an icon or so. What color depth do you use? I tested with 1024x768 with hicolor (65536 colors).
Yes, that could be a reason. I`v made it in the VGA mode because of some troubles with videodriver on a very happily hardware configuration (AMD K6-2 + NVidia Riva TNT2). I will try to do more tests these days. Thanks for answer and your information.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can try to turn off the icons in drive dropdown lists:
wincmd.ini
[Configuration]
IconsInDriveList=0

Also make sure the drive bar is off:
wincmd.ini
[Layout]
DriveBar1=0

This way TC will not use the buttons with icons on them which make troubles with your display driver.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

ghisler(Author) wrote:[Configuration]
IconsInDriveList=0

[Layout]
DriveBar1=0
That helps. Strange is, that TC7.04a doesn`t need this under the same system.
Beside of that I have tried with virtualized WinNT4 in VGA mode , TC7.5PB4 works there flawless.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC7.04a didn't use icons in drive dropdown lists yet. I will try to catch the exception in beta 5, and revert to iconless display.

Btw, does TC crash on this NT4 machine when you use e.g. "synchtonize dirs" or "compare by content"? They use images similar to the ones in the dropdown lists.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

ghisler(Author) wrote:Btw, does TC crash on this NT4 machine when you use e.g. "synchronize dirs" or "compare by content"? They use images similar to the ones in the dropdown lists.
Immediatly after pressing "synchtonize dirs" occures the following message

Code: Select all

Delphi exception: EBitsError 
Stack trace: 
77F1CA1B 00413DE4 77E7280D 77E7E435 
00442AB1 00413DE4 77E7125E 77E71EFE 
0041942D 00419458 00419612 00694B40 
77F1AFBF
Press Ctrl+C to copy this report!
but after closing of this dialog it is possible to use TC. If I try to press " synchtonize dirs" again , I have
A component named CmpForm already exists.
............
Delphi exception EComponentError
............
"compare by content" seems to work properly, but are any icons there?

I`m sorry that I havent reported this until today, this is because I use this computer very seldom and most of the time I use only the base functionality of TC as an "orthodox FM" on it.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

In synchronize dirs, there are icons on the buttons for the directions:
-> <- = =/=
are these shown when the dialog opens correctly?

In "compare by content", there are 4 square buttons which have icons: Search, Find next, Vertical arrangement, Save. Do they have icons on your NT4 system?
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

ghisler(Author) wrote:In "compare by content", there are 4 square buttons which have icons: Search, Find next, Vertical arrangement, Save. Do they have icons on your NT4 system?
Yes , they are shown properly.
ghisler(Author) wrote:In synchronize dirs, there are icons on the buttons for the directions:
-> <- = =/=
are these shown when the dialog opens correctly?
I cannot answer this question because the error occures before sync dialog appears. On the "problematic" computer I can never see this dialog with TC7.5PB4 . With TC7.04a all icons are shown properly. Оn my other NT4 system , the virtual one, the icons in synchronize dirs are shown correctly with both TCs and no errors at all.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, seems that your NT4 system has troubles with 32-bit color image lists. I will use them only on Windows 2000 or newer in beta 5. Please try again when it will be released later this week.
Author of Total Commander
https://www.ghisler.com
Postkutscher
Power Member
Power Member
Posts: 556
Joined: 2006-04-01, 00:11 UTC

Post by *Postkutscher »

I confirm the fix.
No more crashes at start and when sync-ing dirs. All icons are shown correctly as far I can see.

Thank you very much.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great, thanks for testing! So it really was the missing support for 32 bit per pixel images on NT4 which caused the problem...
Author of Total Commander
https://www.ghisler.com
Post Reply