#57 uxtheme.h problem

Instruction_given
closed
MinGW (23)
5
2005-07-18
2005-07-18
No

I tried to compile a library that uses winXP theme engine in
win2k, but since 'uxtheme.h' does:

if (_WIN32_NT >= 0x0501)

mingw didn't get to see the requiered definitions and
the compile failed.

I reported the bug in the library project page:

https://sourceforge.net/tracker/?func=detail&aid=1235895&group_id=11464&atid=111464

As you can see in that link, and they told me that I could
just remove the conditional as you should be able to
compile winXP code in win2k.

I did as they told me and it worked, the code compiled in
win2k and then it worked perfectly in winXP, so I am letting
you know, in case that conditional is indeed redundant in
all cases.

Discussion

  • Earnie Boyd

    Earnie Boyd - 2005-07-18
    • assigned_to: nobody --> earnie
     
  • Earnie Boyd

    Earnie Boyd - 2005-07-18
    • labels: --> MinGW
    • milestone: --> Instruction_given
    • status: open --> closed
     
  • Earnie Boyd

    Earnie Boyd - 2005-07-18

    Logged In: YES
    user_id=15438

    Removing the required filters is not the proper method for
    resolution. You need to define _WIN32_NT for the lowest
    level of OS you wish to support before including windows.h.

    Earnie

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks