- how to know that you in a dll

From: Marco Ciot <"Marco>
Date: Tue, 6 Mar 2007 13:29:44 +0100

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

Sorry,
just noticed that the constant isn't exported either!

I would just modify the Kernel.inDll flag to be
        inDll-: BOOLEAN;

And use that one directly.
Marco

-----Original Message-----
From: blackbox{([at]})nowhere.xy
Ciot
Sent: Tuesday, March 06, 2007 12:51
To: BlackBox Mailing List
Subject: [BlackBox] - how to know that you in a dll


Probably:

        dll IN modList.opts

At least that's how Kernel assignes its inDll flag (not exported).

Regards
Marco

-----Original Message-----
From: blackbox{([at]})nowhere.xy
Thomas
Sent: Tuesday, March 06, 2007 08:41
To: BlackBox Mailing List
Subject: [BlackBox] - how to know that you in a dll


Hei BalckBox Community,

        What is the best way to tell if your BlackBox software is a dll or
an exe? Somewhere I say something like finding the Kernel module in the list
of loaded modules Kernel.modList and then seeing if the dll flag was in its
opts SET. Will this work?

I want to have different initializeation code depending on whether I am
running a dll or an exe.

Moi

        Andrew

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy

--- BlackBox
--- send subject HELP or UNSUBSCRIBE to blackbox{([at]})nowhere.xy


----boundary-LibPST-iamunique-2048566469_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NT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HNlbmQgc3ViamVjdCBI
RUxQIG9yIFVOU1VCU0NSSUJFIHRvIGJsYWNrYm94QG9iZXJvbi5jaFxwYXINClxwYXINfX0=


----boundary-LibPST-iamunique-2048566469_-_---
Received on Tue Mar 06 2007 - 13:29:44 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:43 UTC