delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
From: | Dongho Kim - Experimental Account <dktest AT ISI DOT EDU> |
Message-Id: | <199910260407.VAA16329@boreas.isi.edu> |
Subject: | Using Cygwin created DLL in MSVC++? |
To: | cygwin AT sourceware DOT cygnus DOT com |
Date: | Mon, 25 Oct 1999 21:07:30 -0700 (PDT) |
Cc: | dktest AT ISI DOT EDU (Dongho Kim - Experimental Account) |
X-Mailer: | ELM [version 2.4 PL24 PGP6] |
Hello, I am a newbie on Cygwin and a real newbie on MS VC++. I have five library files that were written in Unix. I would like to build five DLL files from those library files using Cygwin so that the DLLs can be used in MS VC++. I was able to build the DLLs using "Makefile.DLLs" written by Fergus Henderson (obtained from http://sourceware.cyunus.com). However, I am getting run-time errors (Unhandled exception in XXX.exe: 0xC0000005: Access Violation.) when I call the functions in one of the DLLs. I understand that the above description is too vague, but this message will be very long and nobody wouldn't want to read this message if I try to write down in detail. My questions are: - Is it possible to uses DLLs that are created using Cygwin from a program created using MS VC++? - Is there any way that I can debug this? (MS VC++ does not seem to be able to use the debug information created from gcc in Cygwin.) - Is there any document that explains about DLL in detail? There must be many people who tried this. (Use Cygwin created DLLs in MS VC++.) Yes, I read all the documents under: http://sourceware.cygnus.com/cygwin/docs.html However, it is still not clear to me that exactly what I need to do inside of calling function and the functions in DLLs to achieve what I intend to do. I would really appreciate any help. Dongho Kim -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |