# AAX resizing Bug and fix

**URL:** <https://forum.juce.com/t/aax-resizing-bug-and-fix/27116>\
**Category:** Audio Plugins\
**Created:** [April 6, 2018, 11:07am UTC](https://forum.juce.com/t/aax-resizing-bug-and-fix/27116 "2018-04-06T11:07:15Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![railjonrogut](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/railjonrogut/32/505_2.png) [@railjonrogut](https://forum.juce.com/u/railjonrogut)\
**Post date:** [April 9, 2018, 7:38pm UTC](https://forum.juce.com/t/aax-resizing-bug-and-fix/27116/11 "2018-04-09T19:38:32Z")

</div>

See if this helps:

> [@'Rectangle' : ambiguous symbol](https://forum.juce.com/t/rectangle-ambiguous-symbol/6891/5):
>
> I’m having exactly this problem while trying to arrange some existing sources in “juce module” fashion. One of these .cpp files needs windows.h so I put an #include for it into the main “juce\_module.cpp” file. This causes all the other .cpp files that use Rectangles to complain like shown above. What is the preferred way to cope with this?

> [@](#):
>
> define NOGDI before any Windows headers:
> 
> #if defined(\_MSC\_VER)
> 
> #define NOGDI  
> #include \<windows.h\>  
> #include \<WinBase.h\>  
> #include
> 
> #endif  
> You can also define WIN32\_LEAN\_AND\_MEAN after defining NOGDI (if that’ll work for you).

Rail

---

_[View the full topic](https://forum.juce.com/t/aax-resizing-bug-and-fix/27116)._
