Igor Bolschewski
9/4/2010 10:11:00 AM
Let's say I install the dlls into my application folder.
They are 32bit dlls.
Should I install them to the Sys32 folder or what it's called so that it
works under 64bit as well, or does it not matter where I put them?
> "mscir"<mscir@yahoo.com> schrieb im Newsbeitrag
> news:i5t1vs$5hk$1@news.eternal-september.org...
>> On 9/4/2010 1:08 AM, Abhishek wrote:
>>> If the DLLs are C++ then simpley put them in the
>>> same folder as your exe.
>>> and if they are activex dll then use reg-free com manifest file.
>>
>> And what about registering the local copies each time the
>> program is run?
> Temporary registrations in the "oldfashioned way" will
> not work that good. One reason is, that in case your
> own program is using the temporary registered (older
> or "other") version, any other Application which would
> be started at the same time, would be forced to use
> your temporary registered version too. So, that's not
> very "cooperative", so to say. The second reason is,
> that on Vista/Win7 you would take chances, regarding
> a *successfully* temporary registration ("UAC-problems").
>
> So, the recommendation to use SxS-based (manifest-based)
> regfree-COM is a good one - this method is available from
> XP onwards (doing in principle the same thing you
> recommended, but automatically - and without the side-
> effects of affecting other applications).
>
> And of course there's always the other "real regfree COM"
> way, which works either per VB-Code or per small
> Helper-Dll (GetInstance-Call instead of CreateObject) -
> and then (not using the SxS-Services/Manifests) also
> on systems< XP.
>
> Olaf
>
>