This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Possible to use pinvoke to call DLL built with cygwin
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Wed, 1 Nov 2006 19:57:21 -0000
- Subject: RE: Possible to use pinvoke to call DLL built with cygwin
On 01 November 2006 20:10, Larry Hall (Cygwin) wrote:
> Sammy Yu wrote:
>> One of the
>> components built is a DLL which I want to invoke from a C Sharp
>> application. However, the application crashes whenever I call this DLL
>> via pinvoke in C Sharp.
> You need to initialize the DLL. Loading the Cygwin DLL from a non-Cygwin
> app doesn't initialize it automatically. Only Cygwin apps do that. Off
> the top of my head, I don't recall the details but this has been discussed
> before in the email archives, if you want to poke around a bit for the
> procedure.
Googling "cygload" should get the details.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/