7 Sep
2006
7 Sep
'06
3:56 p.m.
On 9/7/06, Andreas Marth <Andreas-Haskell@gmx.net> wrote:
I meant that the dll crashed Excel wenn I stopped the debugging mode and also if I used it in a VB-projekt it crahed that when stopped.
Hi, Andreas! Try adding these lines to your DllMain: if (reason == DLL_PROCESS_DETACH) { shutdownHaskell(); return TRUE; }
If I tried to return a String (marshalled to CString) the dll just plain crashed when called. How exactly is it marshalled?
-- Tolik