On 9/7/06, Andreas Marth <[EMAIL PROTECTED]> 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
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to