• SONAR
  • Cakewalk SONAR SDK - What does GetProjectModified() do?
2015/04/25 14:00:50
bitman
What does GetProjectModified() do?
 
2015/04/25 15:02:37
azslow3
From Mackie source:

// The ISonarProject APIs return E_FAIL if no project is loaded.
if ( m_pProject && !SUCCEEDED( m_pProject->GetProjectModified() ) )
  return;

Other part (and I) use GetProjectName status for that purpose.
 
But why are you asking?
2015/04/25 15:58:34
bitman
Since no description is provided that I could find, I was hoping it would return something useful with regards to whether the loaded project was modified or not. It only seems to return S_OK. So I looked elsewhere.
I wanted to see if there was a way to determine if the new file you just created was saved before closing (you weren't tossing the file away).
 
I ended up coding my own way since my OP.
What does it do anyway?
 
 
 
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account