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 [EMAIL PROTECTED] -- 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/