Re: Releasing WinHugs

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.hugs
Message-ID <[email protected]>
On Wed, Sep 07, 2005 at 05:37:06PM +0100, Neil Mitchell wrote:
> First off, it doesn't load. By changing the path from 
> {Hugs}\packages\*
> to:
> {Hugs}\packages\HGL;{Hugs}\packages\Win32;
> 
> I get it to load. Is this a Windows problem, or a more general problem?

I may have fixed the \* feature now -- try loading Distribution.Simple.
If not, have a look at the Windows version of scanSubDirs() in
machdep.h and see if there are any glaring mistakes.

> Once I get it running, typing main brings up all the windows.
> Unfortunately playing with them gives warnings like:
> 
> Run-Time Check Failure #0 - The value of ESP was not properly saved
> across a function call.  This is usually a result of calling a
> function declared with one calling convention with a function pointer
> declared with a different calling convention.
> 
> inside incMallocPtrRefCnt
> 
> And every so often it crashes.

There seems to be a problem with a VC-compiled binary loading DLLs
produced by MinGW.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.