This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
some problem on uisng dynamic library
- From: "jianwen wang" <jianwen_wang at fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Nov 2002 03:39:58 -0800
- Subject: some problem on uisng dynamic library
I creat dll file from a simple source file ,use instruction :
gcc -c file.c -o file.o
gcc -shared -o file.dll file.c
And I want to used it in the main function to load the dll file
dynamically, using dlopen(),
dlsym().. :
gcc -o main main.cpp
but the program doesn't run .
What's wrong with it ?
--
Jianwen Wang
jianwen_wang@fastmail.fm
--
http://fastmail.fm - Access your email from home and the web
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/