Thank you for your answer.

You're write, I'm using mingw.

I have just found a solution to the problem. Apparently, XP is quite happy if I make him use my application as a windows 200 one (using a right click on the
application, and select the appropriate option).

I thought it was not the best solution but since mingw doesn't know that kind of feature, I will stick to this.

Thank you for your help.