Re: [BLACKBOX] foreign COM-objects part 2: inherit multiple interfaces

From: [at]} <Chris>
Date: Sun, 19 Dec 2010 12:21:41 +1030

----boundary-LibPST-iamunique-196797611_-_-
Content-type: text/plain

>-----Original Message-----
>From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy
>gunnar bernhardt (VDI)
>Sent: Friday, 17 December 2010 7:06 PM
>To: BLACKBOX{([at]})nowhere.xy
>Subject: [BLACKBOX] foreign COM-objects part 2: inherit
>multiple interfaces
>
>Am I correct that the reason is that Component Pascal as it is
>defined in the Language Report (by Oberon) does not allow to
>inherit from multiple interfaces so there is not easy way to
>circumvent this?
>

Way over my head - but I had a look in Clemens Szyperski's (one of the
co-founders of Oberon microsystems) book "Component Software - Beyond
Object-Oriented Programming"

http://research.microsoft.com/~cszypers/Books/component-software.htm

In a section on multiple inheritance he states "Microsoft COM does not
support multiple interface inheritance, but allows a component to support
multiple interfaces simultaneously, to much the same effect".

His book is worth investigating if you are likely to have a number of
questions of this sort - many of the examples are in Component Pascal as
well.

Regards,
Chris

Chris Burrows
CFB Software
http://www.cfbsoftware.com


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-196797611_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMF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3p5cGVycy9Cb29rcy9jb21wb25lbnQtc29mdHdhcmUuaHRtXHBhcg0KXHBhcg0K
SW4gYSBzZWN0aW9uIG9uIG11bHRpcGxlIGluaGVyaXRhbmNlIGhlIHN0YXRlcyAiTWljcm9zb2Z0
IENPTSBkb2VzIG5vdFxwYXINCnN1cHBvcnQgbXVsdGlwbGUgaW50ZXJmYWNlIGluaGVyaXRhbmNl
LCBidXQgYWxsb3dzIGEgY29tcG9uZW50IHRvIHN1cHBvcnRccGFyDQptdWx0aXBsZSBpbnRlcmZh
Y2VzIHNpbXVsdGFuZW91c2x5LCB0byBtdWNoIHRoZSBzYW1lIGVmZmVjdCIuIFxwYXINClxwYXIN
CkhpcyBib29rIGlzIHdvcnRoIGludmVzdGlnYXRpbmcgaWYgeW91IGFyZSBsaWtlbHkgdG8gaGF2
ZSBhIG51bWJlciBvZlxwYXINCnF1ZXN0aW9ucyBvZiB0aGlzIHNvcnQgLSBtYW55IG9mIHRoZSBl
eGFtcGxlcyBhcmUgaW4gQ29tcG9uZW50IFBhc2NhbCBhc1xwYXINCndlbGwuXHBhcg0KXHBhcg0K
UmVnYXJkcyxccGFyDQpDaHJpc1xwYXINClxwYXINCkNocmlzIEJ1cnJvd3NccGFyDQpDRkIgU29m
dHdhcmVccGFyDQpodHRwOi8vd3d3LmNmYnNvZnR3YXJlLmNvbVxwYXINClxwYXINClxwYXINCi0t
LS1ccGFyDQpUbyB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZG
IEJMQUNLQk9YIiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0hcfX0APVJF
----boundary-LibPST-iamunique-196797611_-_---
Received on Sun Dec 19 2010 - 02:51:41 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:27 UTC