delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/05/01:46:12

From: jba AT lfpt DOT RWTH-Aachen DOT DE (Juergen Bausa)
Subject: accessing gnuwin dll's from other compiler
5 Sep 1998 01:46:12 -0700 :
Message-ID: <199809041016.MAA00690.cygnus.gnu-win32@lisa.rwth-aachen.de>
To: gnu-win32 AT cygnus DOT com

I think this problem was reported earlier but I couldn't find any solution
in the archives.

I have dll created with the cygnus port of gvv (libx11.dll). I want to use
it from my c-programm (I use the rsx-port of gcc). I got the headers for
the function in that library, I got the cygwinb19.dll, and I created the
import-library for libx11.dll. However, when I run my program I get a
protection fault, if I call any routine from libx11.dll. I think the
problem is, that cygwinb19.dll is not properly initialized, if I use it
from a program not compiled with the cygnus-gcc. But I think there must be
a way to do so. There maust be a procedure in cygwinb19.dll which I can
call in order to initialize it. But what is the name of the procedure and
how can I call it? Or is there any other way to use cygnus dll's with other
compilers?

Juergen
-
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