Re: [BLACKBOX] Loading self made dlls

From: Campbell, Robert (SELEX GALILEO, UK) <robert.d.campbell{([at]})nowhere.xy>
Date: Tue, 12 Jul 2011 08:48:10 +0100

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

 
Many years ago, when I had (*no*) understanding of Factory (Directory)
methods
at all (in contrast to my present 1% understanding), I had a very
similar problem
with stand alone .exe's.

Not knowing the difference between Files.dir & Files.stdDir (in fact the
Global Variables utility
says they are the same pointer) I used stdDir in my program. It worked
fine in BlackBox, but not
in a packed .exe.

It seems that a different .dir object is need to extract packed files,
and cleverly provided when
needed as part of the packing process. To automatically access it I
should have used Files.dir in my code.


Like Doug, I found the solution was 'obvious'; I asked Oms for help and
took their advice!


Hope this adds something to the picture.


Regards

Robert
SELEX Galileo Ltd
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL
A company registered in England & Wales. Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************


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

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