I've seen this before and just like before I've recently added some calls to a DLL. The first time the solution was to use CallCFunction instead of CallFunction but I'm *positive* that they're stdcall functions in the DLL as I actually wrote this one. That, and I've tried CallCFunction and it didn't work
So, is there something not happening in the DLL on shutdown? It's written in Delphi and is a "plain" DLL - not ActiveX or .NET.
Can anyone make a suggestion as to what I should be looking for? The crash only happens when I exit the program *if* I've called a function in that DLL at some point. The DLL is very straight forward though I am passing some strings in I take them in Delphi as a pchar (which is supposed to be 'ok' for DLLs)..
Thanks for any suggestions - this one has be a bit stumped.


