COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 05-01-2009, 12:47 AM   #1
angixstudios
Human being with feelings
 
Join Date: Jun 2008
Posts: 10
Default Problem modifying IControl class

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??
angixstudios is offline   Reply With Quote
Old 05-01-2009, 06:27 AM   #2
cc_
Human being with feelings
 
Join Date: Mar 2009
Posts: 256
Default

Did you clean everything and rebuild?

If that's not it what code are you adding where?
cc_ is offline   Reply With Quote
Old 05-01-2009, 09:43 PM   #3
angixstudios
Human being with feelings
 
Join Date: Jun 2008
Posts: 10
Default

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.
angixstudios is offline   Reply With Quote
Old 05-02-2009, 11:12 AM   #4
bvesco
Human being with feelings
 
bvesco's Avatar
 
Join Date: Jun 2007
Posts: 125
Default

Did you try a clean rebuild?
__________________
Audio tutorials and articles: http://www.benvesco.com/tonemonster/
My VST plugins: http://www.vescofx.com/
bvesco is offline   Reply With Quote
Old 05-03-2009, 05:05 AM   #5
angixstudios
Human being with feelings
 
Join Date: Jun 2008
Posts: 10
Default

Yeah i did.

I'm gonna try to compile everything from source files, rather than libraries.
See if that solves it.
angixstudios is offline   Reply With Quote
Old 05-05-2009, 12:58 AM   #6
angixstudios
Human being with feelings
 
Join Date: Jun 2008
Posts: 10
Default

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.
angixstudios is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:15 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.