X-Spam-Check-By: sourceware.org Message-ID: <000501c69686$6e315a30$ab01a8c0@loiscxf> From: "cxf" To: "cygwin" Subject: Load dll in VC Date: Fri, 23 Jun 2006 13:32:34 +0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I have a standard dll file CYGCRYPTO-0.9.8.DLL. Using the VC tool "depends",I can see that this dll file depends on cygwin1.dll.when I load the file CYGCRYPTO-0.9.8.DLL in VC,the program is stoped,I don't know why.I do the following in VC: LoadLibrary("CYGCRYPTO-0.9.8.DLL"); (cygwin1.dll is under the directory where cygcrypto-0.9.8 resides in.) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/