Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Problem converting from 6.07 to 6.5 Version
Avatar
Peter
Member
Members
February 11, 2015 - 7:30 pm
Member Since: September 12, 2013
Forum Posts: 43
sp_UserOfflineSmall Offline

Hi Will,

I loaded a complex Synth project into 6.5. The project was programmed using the 6.07 version, I believe. It compiled well as VST Synth. The project is named ScottL and the main class is CMultiMoogA.
After conversion to 6.5 the following problems show up:
The compiler said : Cannot open include file: 'ScottL.h'. ( RackAFXDLL.h). But there was never a file with this name. If I comment the include out, the next error is: rackafxdll.cpp(65) : error C2061: syntax error : identifier 'CScottL'. Here is the error line:
DllExport CPlugIn* createObject()
{
CPlugIn* pOb = new CScottL(); // ***
return pOb;
}
The corresponding lines in the 6.07 version were:
DllExport CPlugIn* createObject()
{
CPlugIn* pOb = new CMultiMoogA(); // ***
return pOb;
}
If I replace CScottL by CMultiMoogA() and include MultiMoogA.h instead of ScottL.h in rackafxdll.cpp and .h files it compiles well.

What is the reason for this?

regards

Peter

P.S. Is there a feature in the forum, that will notify me by email when a post is answered?

Avatar
W Pirkle
Admin
February 11, 2015 - 7:57 pm
Member Since: January 28, 2017
Forum Posts: 391
sp_UserOfflineSmall Offline

The reason is that the name of your RackAFX project is also the name of your CPlugIn derived class. It expects your plugin object to be packaged in ScottL.h and ScottL.cpp and it tries to instantiate that ScottL object.

In fact, I am curious as to how you were able to make a RackAFX project with a CPlugIn derived class that uses a different name CMultiMoogA!?!? Did you create the project and then manually change the object name?

There is not a feature for this forum for email alerts that I am aware of, but I will check with SimplePress to see if that is an option somewhere...

- Will

Avatar
Peter
Member
Members
February 11, 2015 - 9:29 pm
Member Since: September 12, 2013
Forum Posts: 43
sp_UserOfflineSmall Offline

Hi Will,

you are right. I allways use Versions with different names like ScottA, ScottB and so on. I started with the project name MultimoogA. One day, I remember, I changed the name of the project and manually renamed some files and references- because I did not like the name anymore - obviously no good idea!

thanks for the reply

Peter

Forum Timezone: America/New_York

Most Users Ever Online: 152

Currently Online:
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 46

Frodson: 45

Peter: 43

TheSmile: 43

clau_ste: 39

JimmyM: 33

Gwen: 32

EZB: 24

lppier: 23

Member Stats:

Guest Posters: 1

Members: 594

Moderators: 1

Admins: 4

Forum Stats:

Groups: 12

Forums: 37

Topics: 617

Posts: 2428

Newest Members:

channa, bvaccaro, HCassell, Max, Sim1, Chris Wade-Evans, Marlow, kcmixs2, DanieleR, jimjulian

Moderators: W Pirkle: 391

Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 391