if i subclass a Component, and if i want that component to be a Thread subclass, i get an error like this:

e:__code\juce\projects\juce_application\mainwindow.h(513) : error C2385: ‘class_name::delete’ is ambiguous
e:__code\juce\projects\juce_application\mainwindow.h(513) : warning C4385: could be the ‘delete’ in base ‘Component’ of class 'class_name’
e:__code\juce\projects\juce_application\mainwindow.h(513) : warning C4385: or the ‘delete’ in base ‘Thread’ of class ‘class_name’

i can’t do that ? have a component that is also a thread executor ? i have to create another class ?

lou

haydxn: thanx !
it isn’t defined in the juce.h ? bleargh… i have to dirty my cpp files with #include “…/…/src/juce_core/basics/juce_Memory.h” tho…

lou

It is defined in juce.h - I use it all through my apps and don’t have any problems (?)

doh sorry jules…

juce_useDebuggingNewOperator