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://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Message-ID: | <42239427.26804D78@dessent.net> |
Date: | Mon, 28 Feb 2005 13:59:03 -0800 |
From: | Brian Dessent <brian AT dessent DOT net> |
Organization: | My own little world... |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Visual Studio & Cygwin dlls |
References: | <6 DOT 2 DOT 2 DOT 1 DOT 2 DOT 20050228133028 DOT 04fc5af8 AT unixmail DOT qualcomm DOT com> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
Sangita Mohan wrote: > > I am trying to use the OpenLDAP client library from my VC++ code. > > I downloaded the Cygwin OpenLDAP dlls and header files. I used a utility > called implib32 to generate lib files for the dlls. > > I linked the project to use the OpenLDAP lib files. However it doesn't > build. I get the following errors You should start by reading <http://cygwin.com/faq/faq.html#SEC102>. This describes a method for linking to cygwin1.dll from VC. While you're talking about OpenLDAP, remember that it is a Cygwin library and thus depends on the Cygwin environment and cygwin1.dll, so you'll probably have to initialize the Cygwin CRT as described in the link. Also remember that Cygwin provies its own CRT which is mutally exclusive with MSVCRT, so don't even bother trying to mix the two. Finally also remember that linking to Cygwin1.dll means your app must be licensed under the GPL (or another OSI-approved license.) Brian -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |