A call to a packer plugin's PackFiles routine is preceded by a call to SetProcessDataProc with hArcData set to -1 (or 0xFFFFFFFF). This isnt mentioned anywhere in the documentation and wasted hours of debugging.
It would be real nice with a more structured SDK. With documentation, samples, and a simple driver for the plugins that illustrate how TC actually works with them. The driver should be gui based and include an option for unloading the plugin so that we dont have to restart TC each time.
I just discovered that DeleteFiles can be called with a path containing wildcards. Nasty. Can i rely on that this only happens when removing whole directories and that the wildcard is always *.* ?