Thanks Salem. That's what I was doing. In another class that was called from the main class, I was doing strange things with strtok_s(). And the program didn't like it.
buff = GetCommandLine();
token = strtok_s(buff, &seps1, &next_token);
sprintf_s(buff, 128, "%s", next_token);
token =...