#57 uxtheme.h problem

MinGW (23)

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:


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.


  • 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

    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.



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