Re: [BLACKBOX] Loading self made dlls - Initialization

From: [at]} <Treutwein>
Date: Tue, 12 Jul 2011 09:29:33 +0200

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

Hi Doug,
>
> > Here is what is still unclear to me.
> > If I reference, say Files, and HostFiles
> > references Files then how does my use
> > of Files trigger the loading of HostFiles
> > when I don't explicitly include it in my
> > IMPORT statement?
>

I have to add something, to my previous mail,
which in essence does not answer the core of
your question:

You have to know it and to trigger it by hand.
The framework was written with platform independence
in mind and it does not really know on which platform
it runs. Dev/Docu/P-S-I.odc (aka 'Platform-Specific
Issues') it is noted that the kernel "executes the
module bodies of the other modules which are linked
in the application, in the correct order. Usually,
the module StdLoader is among the prelinked modules,
along with several modules that it needs, in particular
Files and HostFiles. Module StdLoader implements the
linking loader which can dynamically link and load a
module's code file."

I guess that DevLinker sets up a list of pre-linked
modules, which the Kernel then initializes (but I
did not check DevLinker), I only had a look at Kernel,
where I found a call to InitModule(modList) and a
comment which says "initialize linked modules".

Hope this helps ...

regards
--
  Bernhard
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1463890282_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIERvdWcsXHBhcg0KPiBccG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-1463890282_-_---
Received on Tue Jul 12 2011 - 09:29:33 UTC

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