PDA

View Full Version : eh Help


RRokkenAudio
03-19-2010, 12:44 AM
I want to use this in a class:

GetParam(koutgain)->DBToAmp();

But when I do, I get a "GetParam undeclared identifier" error, Any way to fix this? What file needs to be included?

~Rob.

Tale
03-19-2010, 02:11 AM
Is what context are you trying to use GetParam()?

My guess would be that your trying to use GetParam() outside your plug-in's class. If so, then you will have to specify the pointer to your plug-in's e.g.:

mPlug->GetParam(koutgain)->DBToAmp();