[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: c++ code
From: "Dmitry Timoshkov" <dmitry () codeweavers ! com>
Date: 2007-05-30 1:46:31
Message-ID: 003a01c7a25c$5bcc11e0$6700a8c0 () DMITRY
[Download RAW message or body]
"Chris Robinson" <chris.kcat@gmail.com> wrote:
> On Tuesday 29 May 2007 01:05:36 am Dmitry Timoshkov wrote:
>> Yes, Microsoft doesn't support calling GDI+ flat API from anything but C++
>> wrappers. But it shouldn't be too hard to construct an appropriate object
>> in plain C that represents GpBrush for instance.
>
> It depends if it's an actual C++ API (eg. exposing classes with non-virtual
> methods and member variables), or pure-virtual interfaces grabbed through a C
> API ala DirectX. If it's the former, it may not be possible to convert it all
> to C due to the name mangling and/or calling convention differences between
> Unix/GCC and Windows. For that, the only thing that may work is to make an
> actual cross-compiled Win32 DLL.
GpBrush is a pure implementation specific internal thing, as well as other
"classes". So it's completely in an developer favour to put anything he
likes to be there.
--
Dmitry.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic