some problem on uisng dynamic library
jianwen wang
jianwen_wang@fastmail.fm
Tue Nov 12 03:48:00 GMT 2002
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/
More information about the Cygwin
mailing list