This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MSVC-dll under cygwin


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]