Hello!
I've been messing around a little converting my code for handling RSS feeds into catching podcasts. I've also turned this into a TC FS plugin.
To my problem. The plugin works, displaying the files in TC, but TC hangs if I try to close TC after using my plugin. So I need to find out common reasons for this, and would appreciate any hints or tips!
My FileSystem plugin hangs TC
Moderators: Hacker, petermad, Stefan2, white
My FileSystem plugin hangs TC
Best regards,
Christian Tiberg
Christian Tiberg
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Common errors are pointers which are freed twice, or trying to access an object which has already been freed. Make sure to set pointers to NULL/Nil after freeing them. This way you will find such errors much more easily (by getting an access violation). Also make sure to close any open files and such in DllMain when you get the DLL_PROCESS_DETACH notification. As a last resort, I can have a look at your code if you want.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Thanks, Christian!
I'll go have another look, I guess. But I'm less and less sure that this is a thing worth doing (that is I don't think it would be very useable, nothing bad about TC itself). I might just do it as a standalone app instead.
I'm seeing now that I'd sorely miss the automatic downloading of files, and that wouldn't be feasible the way I see an FS plugin....
I'll go have another look, I guess. But I'm less and less sure that this is a thing worth doing (that is I don't think it would be very useable, nothing bad about TC itself). I might just do it as a standalone app instead.
I'm seeing now that I'd sorely miss the automatic downloading of files, and that wouldn't be feasible the way I see an FS plugin....
Best regards,
Christian Tiberg
Christian Tiberg