Problem with a packer plugin

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Ariel
Junior Member
Junior Member
Posts: 6
Joined: 2004-11-17, 12:32 UTC

Problem with a packer plugin

Post by *Ariel »

Hi everyone,

I'm new in the forum and I have a question to do:

I have made a packer plugin. So far it works in Win9x, but when I try in W2K or WXP, TC completely closes without any message, just like that. When I press Ctrl+PgDwn TC instantly closes.

My question is: Does anyone know what could be the cause for this behavior? I have implemented the function CanYouHandleThisFile.

Any help will be welcomed.

Thanks,
Ariel
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You may be dynamically calling a DLL which isn't loaded or not even present on Windows 2000. Win2k is also more restrictive to programming errors, e.g. when you call FindClose if FindFirstFile failed, or CloseHandle for an invalid handle.

You should try to test your plugin in a debugger, e.g. by setting breakpoints in all functions.
Author of Total Commander
https://www.ghisler.com
Post Reply