| 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 |
| Message-ID: | <170350-2200210410173711805@M2W078.mail2web.com> |
| X-Priority: | 3 |
| Reply-To: | lhall AT rfk DOT com |
| X-Originating-IP: | 209.113.174.244 |
| From: | "lhall AT pop DOT ma DOT ultranet DOT com" <lhall AT pop DOT ma DOT ultranet DOT com> |
| To: | nickolai DOT bogdatov AT verizon DOT com, cygwin AT cygwin DOT com |
| Subject: | RE: 1.3.12-2 how to link with MS Platform SDK |
| Date: | Thu, 10 Oct 2002 13:37:11 -0400 |
| MIME-Version: | 1.0 |
| X-OriginalArrivalTime: | 10 Oct 2002 17:37:11.0837 (UTC) FILETIME=[AA3434D0:01C27083] |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g9AKY5Z25297 |
What happens when you link with DhcpCSvc.Lib from the MS Platform SDK? Larry Original Message: ----------------- From: nickolai DOT bogdatov AT verizon DOT com Date: Thu, 10 Oct 2002 12:03:51 -0400 To: cygwin AT cygwin DOT com Subject: 1.3.12-2 how to link with MS Platform SDK 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/ -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . -- 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 |