iPlug2 Forum

Help GetPrivateProfileString in Mac

GetPrivateProfileString in app it works fine (swell) but in vst2
says “GetPrivateProfileString” is not defined

Welcome @Bert,

You need to make sure that the file swell-ini.cpp is compiled in the VST2 target in xcode, if you want to use Swell’s GetPrivateProfileString(). By default it is included with the APP target, because the app needs to write/read an .ini file.