On Monday, 20 August 2012 at 18:37:00 UTC, R Grocott wrote:
On Monday, 20 August 2012 at 15:26:48 UTC, Kagamin wrote:
What you ask for sounds quite similar to COM composition with
delegation.
Would anybody mind linking to resources which describe COM
composition with delegation? It's been suggested twice in this
thread as an alternative way to develop a non-fragile API, but
anything related to COM is almost invisible to search engines
(even moreso than D itself).
You just need to know Windows development well, as this type of
information requires MSDN navigation skills. :)
The best book about COM programming that I know is,
The Waite Group's COM/DCOM Primer Plus
http://www.amazon.com/DCOM-Primer-Plus-Waite-Group/dp/0672314924/ref=sr_1_cc_1?s=aps&ie=UTF8&qid=1345529642&sr=1-1-catcorr
Back to how composition works,
http://msdn.microsoft.com/en-us/library/ms678443%28v=vs.85%29
http://msdn.microsoft.com/en-us/library/ms686558%28v=vs.85%29
With ATL the code gets much more simple to get,
http://support.microsoft.com/kb/173823
Another example from CodeGuru,
http://www.codeguru.com/cpp/com-tech/atl/article.php/c3579/Containment-and-Aggregation.htm
--
Paulo