+TC 8.50 b2 x32 can't start on Win NT 4.0 SP1
Moderators: Hacker, petermad, Stefan2, white
some more with 8.01 when listing wfx lpugins and entering one of them (randomly selecred)
http://iceimg.com/i/ae/36/ed6cd35723.png
http://iceimg.com/i/ae/36/ed6cd35723.png
Ukrainian Total Commander Translator. Feedback and discuss.
2MVV
Sorry, that's not my PC and I even can't get access to there.
Screenshots were sent for me as they are now.
Sorry, that's not my PC and I even can't get access to there.
Screenshots were sent for me as they are now.
Ukrainian Total Commander Translator. Feedback and discuss.
Re: TC 8.50 b2 x32 can't start on Win NT 4.0 SP1
I can confirm that. I've tested it with Windows NT4.0 and installed Service Packs step-by-step from 1 to 6a.MaxX wrote:TC 8.50 b2 x32 can't start on Win NT 4.0 SP1
Screenshot:
http://iceimg.com/i/a3/a7/84d3a35c78.png
TC8.50b2 fail to starts with the following message:
"The procedure entry point Module32Next could not be located in the dynamic link library kernel32.dll"
According to Microsoft this function needs at least Windows 2003 at server side, however TC8.50b2 successfully starts on Windows 2000 (SP4).
I can confirm that. I've tested it with Windows NT4.0 and installed Service Packs step-by-step from 1 to 6a.
TC8.50b2 fail to starts with the following message:
"The procedure entry point Module32Next could not be located in the dynamic link library kernel32.dll"
According to Microsoft this function needs at least Windows 2003 at server side, however TC8.50b2 successfully starts on Windows 2000 (SP4).
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684221
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for the info, I will load the function dynamically.
Btw, you cannot rely on the "minimum operating system" any more - Microsoft doesn't list any systems which they think are obsolete. Currently the oldest supported system is Windows XP...
Btw, if you wonder where this function is used, it's in this code:
http://ghisler.ch/board/viewtopic.php?t=36410&highlight=module32next
Btw, you cannot rely on the "minimum operating system" any more - Microsoft doesn't list any systems which they think are obsolete. Currently the oldest supported system is Windows XP...
Btw, if you wonder where this function is used, it's in this code:
http://ghisler.ch/board/viewtopic.php?t=36410&highlight=module32next
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Well, my fault, I haven't tested this aspect with Delphi 2 + Win NT 4.
These functions:
- CreateToolhelp32Snapshot
- Module32First
- Module32Next
are declared in TLHelp32.pas - and they are declared dynamically in Delphi 5 and up, but statically in Delphi 2. Here is the cause of this problem.
Regards
These functions:
- CreateToolhelp32Snapshot
- Module32First
- Module32Next
are declared in TLHelp32.pas - and they are declared dynamically in Delphi 5 and up, but statically in Delphi 2. Here is the cause of this problem.
Regards
Oh, I see. So Microsoft try to forget its own products, nice...ghisler(Author) wrote:Thanks for the info, I will load the function dynamically.
Btw, you cannot rely on the "minimum operating system" any more - Microsoft doesn't list any systems which they think are obsolete. Currently the oldest supported system is Windows XP...
Btw, if you wonder where this function is used, it's in this code:
http://ghisler.ch/board/viewtopic.php?t=36410&highlight=module32next
Anyway I have read the post followed by the url you gave me. Superb team work!
I forgot to mention that (obviously) I used virtual machines for testing purposes, but VMware Tools cannot be installed on Windows NT 4.0 until you install the SP6a. So mrxvpc.sys was surely not in the system32\Drivers directory of windows.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Please try beta 3, I'm loading these functions dynamically now.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Now TC 8.50 beta 3 starts properly under Win NT 4 (without any service packs), but new problem has been introduced: only ProcesLoadedDLLs should be omitted when CreateToolhelp32Snapshot / Module32First / Module32Next hasn't been found. SwapExportedFunction and SwapImportedFunction functions should be called always - both in the initialization and in the finalization section.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, but NOT fixed?
To do to reproduce:
1. started good
2. exit good
3. start goot
4. go to network dir (no net installed)
5. see crash screenshot
http://iceimg.com/i/64/41/d256879a17.png
6. push "yes" to continue exec
7. go to another dirs, do something... like nothing happened
8. can't repeat an error anymore...
To do to reproduce:
1. started good
2. exit good
3. start goot
4. go to network dir (no net installed)
5. see crash screenshot
http://iceimg.com/i/64/41/d256879a17.png
6. push "yes" to continue exec
7. go to another dirs, do something... like nothing happened
8. can't repeat an error anymore...
Exception shown on the screenshot above is inside ntdll.dll!RtlFreeHeap.
So I suppose that the cause is the same as described in the Crash on VirtualPC thread, and has been raised because patch described there has been unintentionally disabled under Win NT 4. Enabling SwapExportedFunction and SwapImportedFunction functions back (as described in my previous post here) may solve the problem.
So we have to wait for beta 4.
So I suppose that the cause is the same as described in the Crash on VirtualPC thread, and has been raised because patch described there has been unintentionally disabled under Win NT 4. Enabling SwapExportedFunction and SwapImportedFunction functions back (as described in my previous post here) may solve the problem.
So we have to wait for beta 4.