TransparentBlt()

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

TransparentBlt()

Max Kellermann
Hi,

I am missing the function TransparentBlt() with mingw32ce 0.59.1.
wingdi.h provides the prototype only if WINVER>=0x410, but MSDN states
TransparentBlt() is available since CE 4.0:

 http://msdn.microsoft.com/en-us/library/aa453778.aspx

wingdi.h defaults to WINVER=0x400, and doesn't bother to check
_WIN32_WCE.

When I attempt to force WINVER=0x410, the linker bails out with
"undefined reference to `TransparentBlt'".

Max

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: TransparentBlt()

Danny Backx
On Tue, 2010-01-26 at 23:14 +0100, Max Kellermann wrote:

> I am missing the function TransparentBlt() with mingw32ce 0.59.1.
> wingdi.h provides the prototype only if WINVER>=0x410, but MSDN states
> TransparentBlt() is available since CE 4.0:
>
>  http://msdn.microsoft.com/en-us/library/aa453778.aspx
>
> wingdi.h defaults to WINVER=0x400, and doesn't bother to check
> _WIN32_WCE.
>
> When I attempt to force WINVER=0x410, the linker bails out with
> "undefined reference to `TransparentBlt'".

Does the change that I just committed work for you ?

        Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: TransparentBlt()

Max Kellermann
On 2010/01/29 18:06, Danny Backx <[hidden email]> wrote:
> On Tue, 2010-01-26 at 23:14 +0100, Max Kellermann wrote:
> > When I attempt to force WINVER=0x410, the linker bails out with
> > "undefined reference to `TransparentBlt'".
>
> Does the change that I just committed work for you ?

(Sorry for the late response)

That fixes the declaration problem, but the "undefined reference"
linker error persists.

Max

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: TransparentBlt()

Danny Backx
On Sat, 2010-02-06 at 00:45 +0100, Max Kellermann wrote:

> On 2010/01/29 18:06, Danny Backx <[hidden email]> wrote:
> > On Tue, 2010-01-26 at 23:14 +0100, Max Kellermann wrote:
> > > When I attempt to force WINVER=0x410, the linker bails out with
> > > "undefined reference to `TransparentBlt'".
> >
> > Does the change that I just committed work for you ?
>
> (Sorry for the late response)
>
> That fixes the declaration problem, but the "undefined reference"
> linker error persists.

The patch below can add this to coredll6.a
I am suggesting this because I don't know which version to put this in.

        Danny

pavilion: {299} cd src/mingw
pavilion: {300} svn diff coredll6.def
Index: coredll6.def
===================================================================
--- coredll6.def        (revision 1435)
+++ coredll6.def        (working copy)
@@ -1664,6 +1664,10 @@
 wvsprintfW
 
 ;
+; Not sure from which version
+;
+TransparentBlt
+;
 ; Stuff for Windows CE / Windows Mobile 6.x
 ;
 CeSetThreadPriority
pavilion: {301}

--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: TransparentBlt()

Vincent Richomme
On Sat, 06 Feb 2010 08:29:41 +0100, Danny Backx <[hidden email]>
wrote:

> On Sat, 2010-02-06 at 00:45 +0100, Max Kellermann wrote:
>> On 2010/01/29 18:06, Danny Backx <[hidden email]> wrote:
>> > On Tue, 2010-01-26 at 23:14 +0100, Max Kellermann wrote:
>> > > When I attempt to force WINVER=0x410, the linker bails out with
>> > > "undefined reference to `TransparentBlt'".
>> >
>> > Does the change that I just committed work for you ?
>>
>> (Sorry for the late response)
>>
>> That fixes the declaration problem, but the "undefined reference"
>> linker error persists.
>
> The patch below can add this to coredll6.a
> I am suggesting this because I don't know which version to put this in.
>
> Danny
>
> pavilion: {299} cd src/mingw
> pavilion: {300} svn diff coredll6.def
> Index: coredll6.def
> ===================================================================
> --- coredll6.def        (revision 1435)
> +++ coredll6.def        (working copy)
> @@ -1664,6 +1664,10 @@
>  wvsprintfW
>  
>  ;
> +; Not sure from which version
> +;
> +TransparentBlt
> +;
>  ; Stuff for Windows CE / Windows Mobile 6.x
>  ;
>  CeSetThreadPriority
> pavilion: {301}

WM 6.0 is not officially released so I don't think so you modified the
right file ...
http://msdn.microsoft.com/en-us/library/aa929119.aspx

You should report it in coredell.def





------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel
Reply | Threaded
Open this post in threaded view
|

Re: TransparentBlt()

Vincent Richomme
On Sat, 06 Feb 2010 10:17:44 +0100, Vincent Richomme
<[hidden email]> wrote:

> On Sat, 06 Feb 2010 08:29:41 +0100, Danny Backx <[hidden email]>
> wrote:
>> On Sat, 2010-02-06 at 00:45 +0100, Max Kellermann wrote:
>>> On 2010/01/29 18:06, Danny Backx <[hidden email]> wrote:
>>> > On Tue, 2010-01-26 at 23:14 +0100, Max Kellermann wrote:
>>> > > When I attempt to force WINVER=0x410, the linker bails out with
>>> > > "undefined reference to `TransparentBlt'".
>>> >
>>> > Does the change that I just committed work for you ?
>>>
>>> (Sorry for the late response)
>>>
>>> That fixes the declaration problem, but the "undefined reference"
>>> linker error persists.
>>
>> The patch below can add this to coredll6.a
>> I am suggesting this because I don't know which version to put this in.

>>
>> Danny
>>
>> pavilion: {299} cd src/mingw
>> pavilion: {300} svn diff coredll6.def
>> Index: coredll6.def
>> ===================================================================
>> --- coredll6.def        (revision 1435)
>> +++ coredll6.def        (working copy)
>> @@ -1664,6 +1664,10 @@
>>  wvsprintfW
>>  
>>  ;
>> +; Not sure from which version
>> +;
>> +TransparentBlt
>> +;
>>  ; Stuff for Windows CE / Windows Mobile 6.x
>>  ;
>>  CeSetThreadPriority
>> pavilion: {301}
>
> WM 6.0 is not officially released so I don't think so you modified the
> right file ...
> http://msdn.microsoft.com/en-us/library/aa929119.aspx
>
> You should report it in coredell.def
>

Forget my least email I just woke up 10 minutes ago.
So your change should be good.

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Cegcc-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel