PDA

View Full Version : kVstMaxProgNameLen


onqel
02-06-2011, 12:29 PM
Hi,

I'm writing as the developer of VST host Cantabile. Some users have reported your plugin TSE808 crashes in Cantabile Lite. I've had a look at this in the debug build of Cantabile and am getting a stack corruption after saving the plugin state. (Cantabile does a save state on first loading a plugin for its undo support). I think the problem is related effGetProgramName - the program name is limited to kVstMaxProgNameLen - 24 - characters. The string that TSE returns is longer than this which corrupts the stack in Cantabile - and almost certainly other hosts too.

Regards
Brad Robinson
http://www.cantabilesoftware.com


My plugin name is only 13 characters or something...
Anyone else encountered this problem with any hosts?

Tale
02-06-2011, 05:39 PM
I think Brad Robinson is talking about preset names, not the plug-in name. ;)

No, thusfar I haven't encountered any problems, not even with Cantabile, but I haven't specifically tested preset name lengths.

onqel
02-07-2011, 12:00 AM
Ah sorry, I mistunderstood and took it to be the actual plugin-name ;)

My default presetname might be a little longer than 24 characters, 36 actually :P