Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Reini Urban
Yu-Cheng Chou schrieb: Hi, 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

Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Yu-Cheng Chou
Hi, 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

Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Brian Dessent
Yu-Cheng Chou wrote: > I want to load the cygwin1.dll with Visual Studio following > the instruction from http://cygwin.com/faq/faq.html#SEC102. > But I can't find winsup/cygwin/how-cygtls-works.txt and the sample code > in winsup/testsuite/cygload. > So where can I find these files? The paths re

Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Yu-Cheng Chou
Hi, I want to load the cygwin1.dll with Visual Studio following the instruction from http://cygwin.com/faq/faq.html#SEC102. But I can't find winsup/cygwin/how-cygtls-works.txt and the sample code in winsup/testsuite/cygload. So where can I find these files? Thanks > Yu-Cheng Chou wrote: > >

Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Yu-Cheng Chou
Hi, I want to load the cygwin1.dll with Visual Studio following the instruction from http://cygwin.com/faq/faq.html#SEC102. But I can't find winsup/cygwin/how-cygtls-works.txt and the sample code in winsup/testsuite/cygload. So where can I find these files? Thanks > Yu-Cheng Chou wrote: > >

Re: load a shared lib created using gcc/Cygwin

2005-06-30 Thread Brian Dessent
Yu-Cheng Chou wrote: > Can a shared library mylib.dll built using > gcc -shared -o mylib.dll file.c > be loaded dynamically at run time by function > LoadLibrary("mylib.dll") in an application built using > Visual C++ or .NET? > I tried it in Windows XP with the latest version of > gcc/Cygwin, the