RE: [BLACKBOX] Calling DLLs

From: null <">
Date: Tue, 18 Jan 2011 08:34:17 +0000

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

Hi Wojtek,

Microsoft fiddles once again with the library search path in the current security updates, which might affetc your apps ...

see http://support.microsoft.com/kb/2264107

regards
--
  Bernhard Treutwein
  Ludwig-Maximilians-Universität
  Ref. VI.3 Anwendungsbetreuung
  Martiusstr. 4/I Raum 107
  80802 München
  Tel. 089 2180-2774
  Fax. 089 2180-992774
  Mobil. 0152-01549335
  e-mail: bernhard treutwein (at) verwaltung uni-muenchen de
 
> -----Original Message-----
> From: Wojtek Skulski [mailto:skulski{([at]})nowhere.xy> Sent: Thursday, November 25, 2010 3:58 PM
> To: Treutwein Bernhard
> Cc: rainer.neubauer{([at]})nowhere.xy> Subject: RE: [BLACKBOX] Calling DLLs
> 
> 
> 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-1205536273_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzc1xmY2hhcnNldDAgQXJpYWw7fQ0Ke1xmMVxmbW9kZXJuIENvdXJpZXIgTmV3O30NCntcZjJc
Zm5pbFxmY2hhcnNldDIgU3ltYm9sO30NCntcZjNcZm1vZGVyblxmY2hhcnNldDAgQ291cmllciBO
ZXc7fX0NCntcY29sb3J0YmxccmVkMFxncmVlbjBcYmx1ZTA7XHJlZDBcZ3JlZW4wXGJsdWUyNTU7
fQ0KXHVjMVxwYXJkXHBsYWluXGRlZnRhYjM2MCBc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5ccGFyDQo+ID5ccGFyDQo+IFxwYXINCn0=
----boundary-LibPST-iamunique-1205536273_-_---
Received on Tue Jan 18 2011 - 09:34:17 UTC

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