| 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://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| MIME-Version: | 1.0 |
| From: | "jianwen wang" <jianwen_wang AT fastmail DOT fm> |
| To: | cygwin AT cygwin DOT com |
| Date: | Tue, 12 Nov 2002 03:39:58 -0800 |
| X-Epoch: | 1037101198 |
| X-Sasl-enc: | GnL+ZsGafcZnFpmYa2N8oQ |
| Subject: | some problem on uisng dynamic library |
| Message-Id: | <20021112113958.E16742FD25@server3.fastmail.fm> |
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 AT fastmail DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |