Re: [BLACKBOX] HostFiles for dll

From: [at]} <Bernhard>
Date: Sat, 26 Sep 2009 11:33:27 +0200

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

a tiny remark.

Many parts of subsystem Host have a tricky but very elegant architecture:

These modules extend and implement abstract methods of basic modules and
provide the host specific implementations without the requirement of client
modules
 to import host specific stuff.

Therefore it is not really a surprise that it is required to link in
HostFiles
into the DLL when you need Files. But it is laso not really a surprise that
the linker cannot decide on its own, what is required.

I would love to see some more documentation about this architecture as it is
used in BlackBox, especially which basic modules require which host specific
ones.

With some phantasy I can see that EthOS (Clemens Szyperski's dissertation,
which is now available here:
http://research.microsoft.com/en-us/um/people/cszypers/books/insight-ethos.htm)
has influenced the design of BlackBox.

Bernhard

----- Original Message -----
From: Douglas G. Danforth
To: BLACKBOX{([at]})nowhere.xy
Sent: Thursday, September 24, 2009 4:55 AM
Subject: [BLACKBOX] HostFiles for dll


Folks,

Boy, after racking my brains I finally realized that it is
necessary to also include HostFiles in the linkage step.
Nothing informs me of this! I just had to take a deep
breath and think about it. I assume there is some
dynamic linkage or something that doesn't know about
HostFiles. My test harness now can write a log file
from within a dll. Whew!

-Doug Danforth


---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to
LISTSERV{([at]})nowhere.xy


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-2001971933_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibF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aGF0
IGRvZXNuJ3Qga25vdyBhYm91dFxwYXINCkhvc3RGaWxlcy4gIE15IHRlc3QgaGFybmVzcyBub3cg
Y2FuIHdyaXRlIGEgbG9nIGZpbGVccGFyDQpmcm9tIHdpdGhpbiBhIGRsbC4gV2hldyFccGFyDQpc
cGFyDQotRG91ZyBEYW5mb3J0aFxwYXINClxwYXINClxwYXINCi0tLS0gVG8gdW5zdWJzY3JpYmUs
IHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG9ccGFyDQpMSVNU
U0VSVkBMSVNUUy5PQkVST04uQ0hccGFyDQpccGFyDQpccGFyDQotLS0tXHBhcg0KVG8gdW5zdWJz
Y3JpYmUsIHNlbmQgYSBtZXNzYWdlIHdpdGggYm9keSAiU0lHTk9GRiBCTEFDS0JPWCIgdG8gTElT
VFNFUlZATElTVFMuT0J9fQAAANSdFGEQK38AYA==
----boundary-LibPST-iamunique-2001971933_-_---
Received on Sat Sep 26 2009 - 11:33:27 UTC

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