RE: [BLACKBOX] Calling DLLs

From: [at]} <Wojtek>
Date: Thu, 25 Nov 2010 09:57:42 -0500 (EST)

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

Bernard:

   thank you very much.

Regards,
Wojtek

On Thu, 25 Nov 2010, Treutwein Bernhard wrote:

> 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-497981947_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"

e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V0MCBDb3VyaWVyIE5ldzt9fQ0Ke1xj
b2xvcnRibFxyZWQwXGdyZWVuMFxibHVlMDtccmVkMFxncmVlbjBcYmx1ZTI1NTt9DQpcdWMxXHBh
cmRccGxhaW5cZGVmdGFiMzYwIFxmMFxmczIwIEJlcm5hcmQ6XHBhcg0KXHBhcg0KICAgdGhhbmsg
eW91IHZlcnkgbXVjaC5ccGFyDQpccGFyDQpSZWdhcmRzLFxwYXINCldvanRla1xwYXINClxwYXIN
Ck9uIFRodSwgMjUgTm92IDIwMTAsIFRyZXV0d2VpbiBCZXJuaGFyZCB3cm90ZTpccGFyDQpccGFy
DQo+IEhpIFdvanRlayxccGFyDQo+XHBhcg0KPiBhIHZlcnkgbGF0ZSBhbnN3ZXIgdG8geW91ciBw
cm9ibGVtIG9mIEJsYWNrQm94IG1pc3NpbmcgdG8gZmluZCBETExzLlxwYXINCj5ccGFyDQo+IEkg
anVzdCBzdHVtYmxlZCBvdmVyIGFuIGFydGljbGUgaW4gRHIuRG9iYnMgKHNlZSBwLiA4IG9mXHBh
cg0KPiBodHRwOi8vaS5jbXBuZXQuY29tL2Rkai9kaWdlc3QvMjAxMC9ERERfMDk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