| 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 |
| From: | nickolai DOT bogdatov AT verizon DOT com |
| Subject: | 1.3.12-2 how to link with MS Platform SDK |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <OFA05B5181.CA10DAD1-ON85256C4E.005699DA@verizon.com> |
| Date: | Thu, 10 Oct 2002 12:03:51 -0400 |
| MIME-Version: | 1.0 |
Hello, My application controls MS DHCP Server and because of that needs to use some calls from MS Platform SDK. For example I have to call "DhcpCApiInitialize()" function. I do #include <dhcpcsdk.h> // dhcp client options api Compilation goes no problem. But.... when I'm trying to link it gives me a error that cannot find function "DhcpCApiInitialize". I have "DhcpCSvc.Lib" (import) library from Platform SDK which contains this function. I read most articles about this on Inet. I tried to generate ".def" file for DHCPCSVC.DLL but this DLL is "stripped". I was even able to generate "def" file from DhcpCSvc.Lib, create ".a" library and link it with my project. But at runtime I have error "The procedure entry point DhcpCApiInitialize AT 4" could not be located in the dynamic link library DHCPCSVC.DLL" My question is: How do I *properly* link MS Platform SDK ".lib" files with my project ? Is in possible at ALL ? Regards, Nickolai Bogdatov Verizon Data Services, Tampa, FL (813) 978-7820 -- 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 |