What do you mean by "your unmanaged dlls are not placed alongside your
assembly in the GAC"; is this different than your suggested solution of
make
sure DLLs are in PATH variable referenced directory? Am I correct that I
cannot place unmanaged DLLs in GAC?
Is the idea of a GAC based managed assembly referencing unmanaged DLLs a
problem in general, or do I just need to get the configuration correct?
If I recall correctly, If an assembly is installed in the GAC, it is
physically copied to a special location in the Windows directory.
If it relies on any native DLLs, those DLLs will no longer be located in the
same folder as the assembly because they are not copied along.
This means that the assembly cannot locate the native DLLs at runtime.
To solve this, the native DLLs have to be placed where the system can find
them.
I.e. the thing to do is to create a folder with those DLLs, and then add
that folder to the PATH variable.
Then, if the assembly tries to load those DLLs, the DLL loader will search
through all path folder and find them.
--
Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"