Please consider registering

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
While compiling recived the error: Cpp file has already a Functionbody
No permission to create posts
August 5, 2016
9:23 pm
New Member
Forum Posts: 2
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

Hi there

I'm completly new in plug-in programming.
The first project in the book "Desining Audio Effect Plug-Ins in C++", calles "Volume" i get an issue I'don't realy get.
It compiles the code generates it and then boom Cpp files already has a Functionbody ( translatet from german so maybe not 100 % accurate)

So I followed the instructions of the book and the code seems not to be a problem.

I use VB 2015 Community on Win 8.1 64 bit system.
The VB Cpp file is empty though there is a textfile which has code written in it.
I can open the Cpp textfile with VB but I get the same error while compiling

Any suggestions what I'm supposed to do?



August 12, 2016
4:24 am
Forum Posts: 66
Member Since:
April 3, 2014
sp_UserOfflineSmall Offline

Hi D-p,

I can't really follow your description. Did you create the project with RackAFX or did you download a project from the website?
What do you mean by "Cpp textfile" and "VB Cpp" file?

Usually, RackAFX should start Visual Studio with the generated C++ project. This should just build fine.

You mention "VB" several times - what are you referring to? Did you install the correct Visual Studio version?


August 12, 2016
4:49 am
New Member
Forum Posts: 2
Member Since:
August 5, 2016
sp_UserOfflineSmall Offline

Hi Tom

I solved the problem. VB is Visual Basic. RackAFX creates an .h and a .cpp file for each project. Normaly you write your code
into the "name of the project".cpp file. By accident I modified the .h file instead.

This could never work.
I opened the .cpp file with the texteditor by accident and Windows saved it that way. Because of that
VB didn't opened the .cpp file and I started the .h file manualy.

Now everything is running fine^^

Best regards

Forum Timezone: America/New_York

Most Users Ever Online: 36

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Skyler: 48

Derek: 41

Peter: 41

Frodson: 40

clau_ste: 39

Gwen: 32

EZB: 24

lppier: 23

Msaldaña: 18

JimmyM: 17

Member Stats:

Guest Posters: 1

Members: 495

Moderators: 1

Admins: 4

Forum Stats:

Groups: 11

Forums: 31

Topics: 511

Posts: 1966

Newest Members:

CoraDias, Edoardo, knooierd, daniel, Merril Bradshaw, BillPlunkett, Pajczur, michaelwayneharwood, RickM, rainbow wind

Moderators: W Pirkle: 187

Administrators: Tom: 66, JD Young: 80, Will Pirkle: 0, W Pirkle: 187