I have a mixed mananage-non managed dll written in c++. when I try to use it from a C# app it runs just fine on my developing computer but when I try to move it to other machine it won't find the dll. I already tried to register on the gac, but I do not know how to reference it from there using the visual studio IDE
does anybody has any ideas

Alfonso

Re: dll loading problem by Mattias

Mattias
Tue Apr 20 05:36:03 CDT 2004

>but when I try to move it to other machine it won't find the dll.

So where is the DLL located in relative to the app directory?

>I already tried to register on the gac, but I do not know how to reference it from there using the visual studio IDE.

Reference a copy in some other folder. It will be loaded from the GAC
at runtime.



Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.