RE: [BLACKBOX] Calling DLLs

From: null <">
Date: Thu, 25 Nov 2010 07:41:29 +0000

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

Hi Wojtek,

a very late answer to your problem of BlackBox missing to find DLLs.

I just stumbled over an article in Dr.Dobbs (see p. 8 of
http://i.cmpnet.com/ddj/digest/2010/DDD_0910.pdf) and I recalled that
you had a changed behavior with BlackBox ...

You might find another solution to your problem by setting the DLL path
explicitely with calling the SetDllDirectory Function (see also MSDN
http://msdn.microsoft.com/en-us/library/ms686203(VS.85).aspx).

regards
--
  Bernhard
> -----Original Message-----
> From: BlackBox [mailto:BLACKBOX{([at]})nowhere.xy> Wojtek Skulski
> Sent: Thursday, January 14, 2010 3:10 AM
> To: BLACKBOX{([at]})nowhere.xy> Subject: [BLACKBOX] Calling DLLs
> 
> 
> Let me try one more time. This time I condensed the message 
> and removed 
> all the previous text. I am sending it to blackbox{([at]})nowhere.xy> "lists". Let's see if I receive the feedback message.
> 
> Copy of the text without citation marks:
> 
>         ---------------------------------------
> 
>   OK, I "solved" the problem. I right-clicked the BlackBox 
> 1.5 icon on the
>   desktop, selected "Properties", opened the Compatibility 
> tab, and selected
>   Compatibility mode "Windows 2000".
> 
>   Then I launched BB, opened the DDCtApi panel, and it started OK.
>   DDCtApi is loaded and all the interactors are populated as expected.
> 
>   I then unchecked the compatibility and voila! The DLL is 
> not loaded. I then
>   set the compatibility again, and voila! DLL is loaded.
> 
>   Note, no other changes! I did not touch the PATH. The DLL 
> files are in the
>   same places with and without the compatibility.
> 
>   I am running Windows XP Professional on this laptop. After 
> Sept 25 there must
>   have been Windows Update. Probably more than one. This 
> could have screwed up
>   the DLL loading process. But how is that possible? How and why the
>   compatibility mode fixed this?
> 
>   W
> 
>   PS: I turned the compatibility on/off a few times to make 
> sure it makes the
>   difference. It does. With compatibility not set the DLL is 
> not loaded. With
>   compatibility set to Win 2k it is loaded and the Api panel 
> works as it used
>   to in September 2009.
> 
> 
> ----
> To unsubscribe, send a message with body "SIGNOFF BLACKBOX" 
> to LISTSERV{([at]})nowhere.xy> 
----boundary-LibPST-iamunique-1953613251_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEhpIFdvanRlayxccGFyDQpccGFyDQphIHZlcnkg
bGF0ZSBhbnN3ZXIgdG8geW91ciBwcm9ibGVtIG9mIEJsYWNrQm94IG1pc3NpbmcgdG8gZmluZCBE
TExzLlxwYXINClxwYXINCkkganVzdCBzdHVtYmxlZCBvdmVyIGFuIGFydGljbGUgaW4gRHIuRG9i
YnMgKHNlZSBwLiA4IG9mIFxwYXINCmh0dHA6Ly9pLmNtcG5ldC5jb20vZGRqL2RpZ2VzdC8yMDEw
L0RERF8wOTEwLnBkZikgYW5kIEkgcmVjYWxsZWQgdGhhdFxwYXINCnlvdSBoYWQgYSBjaGFuZ2Vk
IGJlaGF2aW9yIHdpdGggQmxhY2tCb3ggLi4uXHBhcg0KXHBhcg0KWW91IG1pZ2h0IGZpbmQgYW5v
dGhlciBzb2x1dGlvbiB0byB5b3VyIHByb2JsZW0gYnkgc2V0dGluZyB0aGUgRExMIHBhdGggXHBh
cg0KZXhwbGljaXRlbHkgd2l0aCBjYWxsaW5nIHRoZSBTZXREbGxEaXJlY3RvcnkgRnVuY3Rpb24g
KHNlZSBhbHNvIE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ZlIGJlZW4gV2luZG93cyBVcGRhdGUu
IFByb2JhYmx5IG1vcmUgdGhhbiBvbmUuIFRoaXMgXHBhcg0KPiBjb3VsZCBoYXZlIHNjcmV3ZWQg
dXBccGFyDQo+ICAgdGhlIERMTCBsb2FkaW5nIHByb2Nlc3MuIEJ1dCBob3cgaXMgdGhhdCBwb3Nz
aWJsZT8gSG93IGFuZCB3aHkgdGhlXHBhcg0KPiAgIGNvbXBhdGliaWxpdHkgbW9kZSBmaXhlZCB0
aGlzP1xwYXINCj4gXHBhcg0KPiAgIFdccGFyDQo+IFxwYXINCj4gICBQUzogSSB0dXJuZWQgdGhl
IGNvbXBhdGliaWxpdHkgb24vb2ZmIGEgZmV3IHRpbWVzIHRvIG1ha2UgXHBhcg0KPiBzdXJlIGl0
IG1ha2VzIHRoZVxwYXINCj4gICBkaWZmZXJlbmNlLiBJdCBkb2VzLiBXaXRoIGNvbXBhdGliaWxp
dHkgbm90IHNldCB0aGUgRExMIGlzIFxwYXINCj4gbm90IGxvYWRlZC4gV2l0aFxwYXINCj4gICBj
b21wYXRpYmlsaXR5IHNldCB0byBXaW4gMmsgaXQgaXMgbG9hZGVkIGFuZCB0aGUgQXBpIHBhbmVs
IFxwYXINCj4gd29ya3MgYXMgaXQgdXNlZFxwYXINCj4gICB0byBpbiBTZXB0ZW1iZXIgMjAwOS5c
cGFyDQo+IFxwYXINCj4gXHBhcg0KPiAtLS0tXHBhcg0KPiBUbyB1bnN1YnNjcmliZSwgc2VuZCBh
IG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiBccGFyDQo+IHRvIExJU1RTRVJW
QExJU1RTLk9CRVJPTi5DSFx9fQAQKFBwLiAWOCnRJQ==
----boundary-LibPST-iamunique-1953613251_-_---
Received on Thu Nov 25 2010 - 08:41:29 UTC

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