Thank you for your assistance Dennis.
Currently I have gone to full-frontal assault mode on this problem - which means restructuring my library so that it is truly layered, removing circular dependencies between modules, and building a bit of a test harness for loading and unloading.
This is what I am discovering and certain suspicions I have.
First, my library is not particularly stringy. Meaning, I am not using code when I should be using aliases or something. Nor is the library a bunch of haphazard flat macro recordings. Put it this way, it would be a real pain to put what strings I am using (other than a few paths that have #defines) into an external data file.
I am at level 15 in the layers, so a lot of my library is wrappers upon utils upon helpers, etc. It is at these higher levels that I seem to hit the wall (thus far when the lower levels are loaded). What I am experiencing is a stubborness in the higher levels to load/compile without an app crash, but a lower level one usually does not have a problem with a recompile/reload.
Soon I will be at the point where I can start out with a new vslick.sta and try to load things from the top down instead of bottom up to see if that makes a difference.
Naturally I am having suspicions of whether vslick.sta is getting corrupted, and am wondering about the #import mechanism -- which I will do some loads bypassing that to see what happens eventually.
The basic behavior is this -- I can get an app crash on reload/recompile of a module even when it is low in the layers, but being low seems to make that less likely. But, even if it does recompile/reload -- I can still get the 'error writing to vslick.sta' on app exit (simply for reloading that one module).
I get no formal code errors. On each module I am running strict2 and strictprotos ON, in that order. I have my own global include header which I will attach to this post.
I was thinking I could give you my current vslick.sta and the code modules I am attempting to compile so that you could throw it on the debugger. But I am also willing to give you the whole lib, once I get it packaged a bit more. Right now I will attach my global include, a couple of the modules I am having trouble with, and a couple of the lower and mid level modules to show I am not being wierd or stringy. I will also attach my vslick.sta (if its not too big for the forum).
I have some questions about vslick.sta. Since the app locks it, I assume it can 'carry forward' corruption (ie it is not written entirely anew on exit, right?). Am I even right in suspecting corruption of vslick.sta when, say, a module compile causes an app crash -- how much is vslick.sta in the game on that one?
Out of curiousity, is this string limitation per module or global? For instance, I have only ONE main popup menu in my lib, which is hard-coded literal strings and could be seen as quite wordy with the tip-text. I will attach it, but is that something to be concerned about?
What would be the proper course in submitting this package and problem to your techs, do I take out a support ticket, do I get to say 'Dennis said to fix it' haha. Tell me what you want.
Attached is rar containing example macros, vslick.sta and README.txt