justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: Are there any circumstances under the hood, that GetSetMediaTrackInfo with I_WNDH parameter may return NULL or it always valid no matter what?
Asked by Pony (78.152.169.x) on January 28 2020, 9:08am
Reply on January 29 2020, 2:34pm:
    You should always check to make sure the pointer is non-null before dereferencing it... It should only happen if the track pointer is invalid...


Comments:
  • Posted by Pony (78.152.169.x) on January 29 2020, 3:46pm:
    Yes, already figured out by trial&fail )). Thank You for answering.


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2020 Justin Frankel. | RSS