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 sp_TopicIcon
Problem converting from 6.07 to 6.5 Version
No permission to create posts
February 11, 2015
7:30 pm
Avatar
Peter
Member
Members
Forum Posts: 41
Member Since:
September 12, 2013
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?

February 11, 2015
7:57 pm
Avatar
W Pirkle
Admin
Forum Posts: 143
Member Since:
January 28, 2017
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

February 11, 2015
9:29 pm
Avatar
Peter
Member
Members
Forum Posts: 41
Member Since:
September 12, 2013
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: 36

Currently Online:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 47

Peter: 41

Derek: 41

clau_ste: 39

Frodson: 38

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

Jorge: 17

Member Stats:

Guest Posters: 1

Members: 476

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 30

Topics: 482

Posts: 1876

Newest Members:

sam, annaharris, Marie Weaver, kev, Steven, Mr Anderson, mguy, omelc

Moderators: W Pirkle: 143

Administrators: Tom: 65, JD Young: 80, Will Pirkle: 0, W Pirkle: 143