ReaperEmbeddedViewPluginDemo example: getting parent track? (develop branch)

I had a quick look at this, and I think perhaps the problem is that the parent pointer is initialised a little time after setIHostApplication is called. Rather than immediately trying to call getReaperParent inside setIHostApplication, you could try storing the pointer to the IReaperHostApplication and then calling hostPtr->getReaperParent (1) at the point where you actually need to interact with the track object.

1 Like