I have a simple SDI app which works pretty well.
Lately I decided to make use some of functions, exported by a DLL.
All those DLL functions work with a static memory buffer (which the app must define and use in the function calls) .
Fact is, some DLL functions should be called when specific things happen in the View.
I am not sure how I should handle calling of the DLL functions. Should the MainFrame, the Document and the View all have access to them (and hence to the memory buffer) ? Or should they message the app to make the function calls instead ?