View Full Version : Problem modifying IControl class
angixstudios
05-01-2009, 12:47 AM
If I try to add a variable to the IControl class, the resulting .dll is either not recognized as a VST or in Debug, IGraphics errors are reported.
This doesn't make sense to me, if I comment the variable its fine.
I can add methods, no worries, but variables are no good.
What am I missing??
Did you clean everything and rebuild?
If that's not it what code are you adding where?
angixstudios
05-01-2009, 09:43 PM
Basically, I am trying to add methods and and variables to the IControl class.
1. I try modifying IControl class in the IControl.h file
2. I Build the IPlug.lib
Then my IPlug-derived project, which is directed to use the IPlug.lib and IControl.h file, compiles successfully but the resultant .dll file when loaded in does not behave, either crashing hard or saying there is a problem with random things like IGraphics.
In Visual Studio, I can even make calls to the new Methods in IControl and Intellisense picks it up.
This is really doing my head in.
bvesco
05-02-2009, 11:12 AM
Did you try a clean rebuild?
angixstudios
05-03-2009, 05:05 AM
Yeah i did.
I'm gonna try to compile everything from source files, rather than libraries.
See if that solves it.
angixstudios
05-05-2009, 12:58 AM
SUCCESS!!!
Well ... kinda.
I am no longer using the IPlug library and compiling my plugins using the IPlug source files instead.
I still don't know why the libraries were misbehaving but who cares.
Thanx everyone for their help.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.