PDA

View Full Version : IPlug example program crashes during VST scanning


ArdeII
09-09-2010, 11:37 PM
Hi,
Everything worked fine until today when I started to get crashes when Reaper scans the IPlug plugins.
The IPlug example project is clean with no modifications whatsoever.

What is causing this? I'm using VC++ 2010 express edition and newest Reaper and WDL release.

- Arto

cc_
09-10-2010, 12:26 AM
This is probably caused by an accented character in your timezone. Take a look at post #16 here:

http://forum.cockos.com/showthread.php?t=42725

ArdeII
09-10-2010, 02:28 AM
Thanks cc,
You were absolutely right! I had negative chars in my local time char buffer in Log::CurrentTime(). I fixed it by simply ignoring all negative values.

for (i = 0, j = 0; i < nZ; ++i) {
if (cTZ[i]>0&&isupper(cTZ[i])) {
tz[j++] = cTZ[i];
}

- Arto