I'm having problems with a bound application I wrote using wxperl with perlapp. When I run my program through perlapp's "Test it" interface, I get the error message "rmtree failed because directory is not empty."

When I check the temporary directory perlapp uses to cache its unpacked file ins, I can see the wx dlls have not been deleted. I gather that this is happening because the wx dlls can't be deleted, because they haven't been unloaded from memory yet. Since this only happens with some of my perlapp projects, I have reason to hope that there is something I can do when I exit my script that will help signal the OS that I am done with the dlls and they can be unloaded.

Does anyone have any suggestions?

Thanks,

--Mark Swayne

Reply via email to