[BLACKBOX] Calling DLL's

From: [at]} <Rainer>
Date: Mon, 11 Jan 2010 18:44:24 +0100

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

Hi all,
first a happy new year to all of you : -)

Unfortunately I have a serious problem with calling services of a DLL
from BB.

The DLL to be called from within BB (say ew.dll) in turn calls a
bunch of other things (some other DLL's, Java). It was shipped by a
vendor with all necessary components including a simple DOS program
called testClient.exe. This program is intended for manually calling
the DLL's services for testing purposes, e.g. checking if all paths
are set correctly.

The first service of ew.dll to be called is "apiInit" which takes a
string (path and file name of an options file) as input parameter and
yields an error code (integer) and an error string as results.

When I call "apiInit" from BlackBox, the DLL is found by the system,
"apiInit" starts, takes its input parameter (options file), reads
this file, writes a log file specified in the options file and
terminates delivering an error code and an error message.

When I start testClient.exe, "apiInit" is called automatically
(reading the same options file) and terminates without an error.

Does the service "apiInit" of the DLL ew.dll know if it is called by
BlackBox or by testClient.exe ???
I have absolutely no idea where to look for the difference.

Did anybody experience a similar effect ?
Could anybody please give me a hint which details to check ?
I'm really lost with this problem.

Best regards,
Rainer


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1370012004_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIG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h
cg0KQmVzdCByZWdhcmRzLFxwYXINClJhaW5lclxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpU
byB1bnN1YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9Y
IiB0byBMSVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9fQBMQUNL
----boundary-LibPST-iamunique-1370012004_-_---
Received on Mon Jan 11 2010 - 18:44:24 UTC

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