PluginHost won't build if QuickTime isn't available


#1

This may be because a few recent changes (for IPhone dev?) - but if I specifically disable QuickTime from PluginHost’s AppConfig.h it fails to build (seemingly ActiveXControlComponent is undefined)
(I thought, at first, this was something to do with changes to the Amalgamator… but I re-built that and had the same result)

[code]
/********* Start of inlined file: juce_QuickTimeMovieComponent.h *********/
#ifndef JUCE_QUICKTIMEMOVIECOMPONENT_JUCEHEADER
#define JUCE_QUICKTIMEMOVIECOMPONENT_JUCEHEADER

// this is used to disable QuickTime, and is defined in juce_Config.h
#if JUCE_QUICKTIME || DOXYGEN

#if JUCE_WINDOWS

/********* Start of inlined file: juce_ActiveXControlComponent.h *********/
#ifndef JUCE_ACTIVEXCONTROLCOMPONENT_JUCEHEADER
#define JUCE_ACTIVEXCONTROLCOMPONENT_JUCEHEADER

#if JUCE_WINDOWS || DOXYGEN

/**
A Windows-specific class that can create and embed an ActiveX control inside
itself.

To use it, create one of these, put it in place and make sure it's visible in a
window, then use createControl() to instantiate an ActiveX control. The control
will then be moved and resized to follow the movements of this component.

Of course, since the control is a heavyweight window, it'll obliterate any
juce components that may overlap this component, but that's life.

*/
class JUCE_API ActiveXControlComponent : public Component
{
public:[/code]

[i]#if JUCE_WINDOWS

/********* Start of inlined file: juce_ActiveXControlComponent.h *********/
#ifndef JUCE_ACTIVEXCONTROLCOMPONENT_JUCEHEADER
#define JUCE_ACTIVEXCONTROLCOMPONENT_JUCEHEADER[/i]

…onwards is greyed-out/disabled/excluded from build :frowning:


#2

Yes, sorry, I’d broken something when I was messing about with it… Have straightened it out now.


#3

Dang. I fixed it too within 10 mins of reporting it, but my ISP took a sickie and has only just come back.
Ta