delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/28/10:32:39

From: mbrett AT wren DOT rpms DOT ac DOT uk (Matthew Brett)
Subject: Initialising gnuwin DLLs
28 Jan 1998 10:32:39 -0800 :
Message-ID: <199801281358.NAA07920.cygnus.gnu-win32@magpie.rpms.ac.uk>
To: gnu-win32 AT cygnus DOT com
Cc: juerg DOT tschirren AT isbe DOT ch, r_urbin1 AT ridgecrest DOT ca DOT us,
tvoverbe AT wk DOT estec DOT esa DOT nl

Dear All,

>From some recent messages, it looks as though several of us are having 
difficulty using gnuwin DLLs with other software (such as VC++, matlab).
Even something as innocent as a printf() command in the DLL causes 
a memory access crash, with errors like:

The instruction at 0x1000c4ec referenced memory at 0x00000058

It's the same with many other functions: any file access function, malloc,
pid, to name a random selection.  However, although malloc() causes a 
crash, LocalAlloc does not.  I / we were wondering whether this was a DLL
initialisation problem, and whether anyone knows how to initialise a
gnuwin DLL properly for use by non-gnuwin apps.

Thanks for any help to the lost,

Matthew Brett

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019