You should check pointers to be sure they are not null before dereferencing them. Primary tracks, for example, do not have a creator process, so the pointer will be null.
if (creatorProcess && creatorProcess->GetProcessName() == ".....")
You should check pointers to be sure they are not null before dereferencing them. Primary tracks, for example, do not have a creator process, so the pointer will be null.
if (creatorProcess && creatorProcess->GetProcessName() == ".....")