You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Status = CreateDirectory(ApsLogPath, NULL);
if (Status != APS_STATUS_OK && Status != ERROR_ALREADY_EXISTS) {
return Status;
}
CreateDirectory returns just BOOL, while ERROR_ALREADY_EXISTS is returned by GetLastError. When log or sym directory did not exist (but was just created), the program thinks there was an error and terminates silently.
The text was updated successfully, but these errors were encountered:
CreateDirectory returns just BOOL, while ERROR_ALREADY_EXISTS is returned by GetLastError. When
log
orsym
directory did not exist (but was just created), the program thinks there was an error and terminates silently.The text was updated successfully, but these errors were encountered: