gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows Drag & Drop


From: Gulliver
Subject: Re: Windows Drag & Drop
Date: Fri, 8 Apr 2011 10:42:10 +0200

Hi,

Am 08.04.2011 um 00:09 schrieb David Chisnall:

> On 7 Apr 2011, at 21:00, Eric Wasylishen wrote:
> 
>> You have to do some COM stuff.. it looks like it might be easier to do in 
>> C++,
>> but the GDK implementation does it in pure C. It would be really nice to have
>> this working!
> 
> 
> You probably have to either do it in C, or use Microsoft's C++ compiler for 
> compiling.  Unless it's been implemented while I wasn't paying attention 
> (entirely possible), g++ can not produce C++ classes that have the same 
> layout (including vtable layout) as Microsoft C++  compiler, meaning things 
> that rely on the C++ ABI are not likely to work with g++.  

AFAIR it can be done in Pure C. 
see:
http://blogs.msdn.com/b/oldnewthing/archive/2004/10/05/238050.aspx
http://www.codeproject.com/KB/COM/com_in_c5.aspx

Just my 2 cents,
Gulliver




reply via email to

[Prev in Thread] Current Thread [Next in Thread]