[RESOLVED] Strange error on EXE termination
My application is giving me a "Run-Time error 339 Component " or one of its dependencies not correctly registered: a file is missing or invalid." Never has this occurred in the IDE.
Only happens on termination... and only for a certain user(I can no longer reproduce the error, after removing a Form1.Show from Form2's terminate).
They're also using appname.exe.local to enable sXs, which I don't use.
I think it has something to do with gdiplus.dll. This user was getting an entry point not found for function (I can't recall) in gdiplus.dll, which is why I suggested the .local to enable sXs(and solved that problem).
Re: Strange error on EXE termination
So I was stepping through execution starting with the query_unload up to when the app finally terminates.
I thought something was weird. I have this custom scroll bar user control(a ctl), and after all the forms go through a: For Each frm in Forms: Unload frm: Set frm = Nothing: Next, this custom control's events start firing! But it shouldn't exist... as the forms have all been destroyed, right? Could this be a problem?
Re: Strange error on EXE termination
I think, the custom control is the main cause of this problem. If you can get the sourcecode of it (if it is available as freeware), try to have a look on it...:wave:
I think there are many scrollbar controls available in PSC, you can even replace with one of them.
Re: Strange error on EXE termination
It was occurring in a form completely unrelated to either....