Hi,

when compiling for console applications, RB 2008r2 complains about the
plugins:

************
An error has occurred while compiling this project.
Message: There is no class with this name.
File: MBS REALbasic Audio Plugin.rbx
Location: PortAudioStreamParameters._init
Code:
************

RB 2008r1 does not complain. It complains for several classes which have
nothing really common.

The class definition looks like this:

static REALproperty PaStreamParametersProperties[] = {
        { nil, "Device",                                "Integer",
REALpropRuntimeOnly|REALconsoleSafe, REALstandardGetter,
REALstandardSetter, FieldOffset(PaStreamParametersClassData, device) },
        { nil, "ChannelCount",                  "Integer",
REALpropRuntimeOnly|REALconsoleSafe, REALstandardGetter,
REALstandardSetter, FieldOffset(PaStreamParametersClassData,
channelCount) },
        { nil, "SampleFormat",                  "Integer",
REALpropRuntimeOnly|REALconsoleSafe, REALstandardGetter,
REALstandardSetter, FieldOffset(PaStreamParametersClassData,
sampleFormat) },
        { nil, "SuggestedLatency",              "Double",
REALpropRuntimeOnly|REALconsoleSafe, (REALproc) getsuggestedLatency,
(REALproc) setsuggestedLatency },
};

REALclassDefinition PaStreamParametersClass = {
        kCurrentREALControlVersion,
        PortAudioStreamParametersMBS,
        nil,
        sizeof(PaStreamParametersClassData),
        0,
        (REALproc) nil,
        (REALproc) nil,
        PaStreamParametersProperties,
        sizeof(PaStreamParametersProperties) / sizeof(REALproperty),
        nil,
        0,
        nil, // events
        0,
        nil, // event instances
        0,
        nil, // interfaces
        nil, // bindings
        0,
        nil, // constants
        0,
        REALconsoleSafe // flags
};

What could be the problem?

Gruß
Christian

-- 
Over 1000 classes with 20000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.2. 

<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to