- how to know that you in a dll
----boundary-LibPST-iamunique-1101309938_-_-
Content-type: text/plain
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
----boundary-LibPST-iamunique-1101309938_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIFByb2JhYmx5OlxwYXINClxwYXINClx0YWIgZGxs
IElOIG1vZExpc3Qub3B0c1xwYXINClxwYXINCkF0IGxlYXN0IHRoYXQncyBob3cgS2VybmVsIGFz
c2lnbmVzIGl0cyBpbkRsbCBmbGFnIChub3QgZXhwb3J0ZWQpLlxwYXINClxwYXINClJlZ2FyZHNc
cGFyDQpNYXJjb1xwYXINClxwY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uY2hccGFyDQpccGFyDQotLS0gQmxhY2tCb3hccGFyDQotLS0gc2Vu
ZCBzdWJqZWN0IEhFTFAgb3IgVU5TVUJTQ1JJQkUgdG8gYmxhY2tib3hAb2Jlcm9ufX0ABH8ATJ4U
YRAAAAAaAA==
----boundary-LibPST-iamunique-1101309938_-_---
Received on Tue Mar 06 2007 - 12:50:55 UTC
This archive was generated by hypermail 2.3.0
: Thu Sep 26 2013 - 06:31:43 UTC