Cakewalk SONAR SDK - What does GetProjectModified() do?

Author
bitman
Max Output Level: -34 dBFS
  • Total Posts : 4105
  • Joined: 2003/11/06 14:11:54
  • Location: Keystone Colorado
  • Status: offline
2015/04/25 14:00:50 (permalink)

Cakewalk SONAR SDK - What does GetProjectModified() do?

What does GetProjectModified() do?
 
#1

2 Replies Related Threads

    azslow3
    Max Output Level: -42.5 dBFS
    • Total Posts : 3297
    • Joined: 2012/06/22 19:27:51
    • Location: Germany
    • Status: offline
    Re: Cakewalk SONAR SDK - What does GetProjectModified() do? 2015/04/25 15:02:37 (permalink)
    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?

    Sonar 8LE -> Platinum infinity, REAPER, Windows 10 pro
    GA-EP35-DS3L, E7500, 4GB, GTX 1050 Ti, 2x500GB
    RME Babyface Pro (M-Audio Audiophile Firewire/410, VS-20), Kawai CN43, TD-11, Roland A500S, Akai MPK Mini, Keystation Pro, etc.
    www.azslow.com - Control Surface Integration Platform for SONAR, ReaCWP, AOSC and other accessibility tools
    #2
    bitman
    Max Output Level: -34 dBFS
    • Total Posts : 4105
    • Joined: 2003/11/06 14:11:54
    • Location: Keystone Colorado
    • Status: offline
    Re: Cakewalk SONAR SDK - What does GetProjectModified() do? 2015/04/25 15:58:34 (permalink)
    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?
     
     
     
    #3
    Jump to:
    © 2025 APG vNext Commercial Version 5.1