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 |
To: | cygwin AT cygwin DOT com |
From: | Shankar Unni <shankarunni AT netscape DOT net> |
Subject: | Re: MSVC-dll under cygwin |
Date: | Thu, 02 Dec 2004 13:06:57 -0800 |
Lines: | 10 |
Message-ID: | <coo05h$2a9$1@sea.gmane.org> |
References: | <000a01c4d883$eb5024f0$0200a8c0 AT mindcooler> <20041202153745 DOT GA29883 AT trixie DOT casa DOT cgf DOT cx> <001901c4d887$c873bfb0$0200a8c0 AT mindcooler> <002701c4d88f$3e12d100$0200a8c0 AT mindcooler> |
Mime-Version: | 1.0 |
X-Complaints-To: | usenet AT sea DOT gmane DOT org |
X-Gmane-NNTP-Posting-Host: | adsl-68-120-146-125.dsl.snfc21.pacbell.net |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041201 Thunderbird/1.0RC1 Mnenhy/0.6.0.104 |
In-Reply-To: | <002701c4d88f$3e12d100$0200a8c0@mindcooler> |
X-IsSubscribed: | yes |
Mikael Åsberg wrote: > HKEY create_registry_key(const HKEY parent_key, const std::string& name); You cannot mix Visual C++ ("real" C++, I mean, not C) and Gnu C++ modules in any way whatsoever. The two have completely different class and virtual-table layout algorithms. If you need to link a Gcc-compiled object to a VC++-compiled object, you can only use 'extern "C"' APIs (and C structures) to cross between the two. -- 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 |