Graphics drawing issue w/ latest tip on Win7


#1

Hey,

I am using MSVC2010 on Windows 7 (64 bit) with 32-bit targets. Anyways, the drawing functions have been causing me all kinds of Heap related problems. What I’ve been in the habit of doing is making calls to functions like drawLine using code like this:

g.drawLine(Line<float>(x1, y1, x2, y2), 4.0f);

Anyways, I just noticed, after upgrading all the JUCE modules to the latest tip, that creating objects inside the drawing routine arguments messes up the heap similar to that getParameterInfo audio unit bug that I had mentioned a couple weeks ago?

Is anyone else experiencing this?


#2

If that’s going wrong, then there must be something very broken in your build. Are some of your cpp files being built in release mode and others in debug mode?