| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Thu, 30 Jun 2005 17:26:43 -0700 (PDT) |
| Message-Id: | <200507010026.j610Qhwa026567@citheronia.ucdavis.edu> |
| To: | Brian Dessent <brian AT dessent DOT net>, cygwin AT cygwin DOT com |
| Subject: | Re: Dynamically load a shared lib created using gcc/Cygwin |
| From: | "Yu-Cheng Chou" <cycchou AT ucdavis DOT edu> |
| X-Errors-To: | cycchou AT magenta DOT ucdavis DOT edu |
| X-User-Agent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) |
| X-IsSubscribed: | yes |
mylib.dll was created using gcc/cygwin based on some libraries that were
also built using gcc/cygwin and CANNOT be re-built by other compilers.
I have to, and need only to load mylib.dll at run-time by function
LoadLibrary("mylib.dll")
in an applicaiton that was built by Visual C++ or .NET.
When I ran this application in Windows XP, it hung at LoadLibrary
("mylib.dll").
Sorry about bothering you again
> > I made a mistake in the previous reply.
> > Here I state my question again.
> >
> > mylib.dll was built using gcc/cygwin based on some library that
> > might depends on cygwin1.dll.
> > I don't want to load cygwin1.dll explicitly, but I do need to load
> > mylib.dll dynamically at run-time in an application which was built by
> > Visual C++ or .NET.
>
> I don't think it matters. If you expect at any point in time to load
> cygwin1.dll into your process, either directly or by loading something
> that depends on it, then you need to initialize and load it as stated in
> the FAQ.
>
> Brian
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |