Примеры ошибок, обнаруженных с помощью диагностики V1075
V1075. The function expects the file to be opened in one mode, but it was opened in different mode.
Captain Blood
V1075 The function expects the file to be opened for writing, but it was opened for reading. Debugger.cpp 172
sampleCount VoiceKey::OnBackward (....) {
....
int atrend = sgn(buffer[samplesleft - 2]-
buffer[samplesleft - 1]);
int ztrend = sgn(buffer[samplesleft - WindowSizeInt-2]-
buffer[samplesleft - WindowSizeInt-2]);
....
}