Releasing WinHugs

Ross Paterson ross at soi.city.ac.uk
Wed Sep 7 19:36:02 EDT 2005


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.



More information about the Cvs-hugs mailing list