


You can get the full path to the folder where your plugin is installed using these RAFX functions:
For Windows (RAFX, VST2, VST3) and MacOS (VST2, VST3) use
char* CPlugIn::getMyDLLDirectory( );
For AU only in MacOS use
char* CPlugIn::getMyDLLDirectory(CFStringRef bundleID)
- for the AU version you must supply the bundleID
- the term "DLL" does not exist in MacOS; in reality these functions return the path of where your "component" is stored
You will need this function if your plugin requires reading or writing files. For example, the Synth book sample-based plugins all use this function to load samples. You could also use it to load WAV IR files (see the ConvolveIt Bonus Project) from a sub-folder. Another use would be for loading and saving custom presets with preset information that is not a part of RackAFX.
Will
Most Users Ever Online: 152
Currently Online:
10 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Chaes: 51
Skyler: 48
Derek: 46
Frodson: 45
Peter: 43
TheSmile: 43
clau_ste: 39
jim: 34
JimmyM: 33
Gwen: 32
Member Stats:
Guest Posters: 1
Members: 684
Moderators: 1
Admins: 5
Forum Stats:
Groups: 13
Forums: 41
Topics: 747
Posts: 2853
Newest Members:
duo.dirtykidz, Paul, Reakenzo, jflo, dan_1, phlub, josh, bmarx, Tom Helvey, LudovicModerators: W Pirkle: 555
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 555, VariableCook: 3