Thanks Luc
I used Dependecy Walter and
I found the need Dlls, but If I put with my operator DLL, the same error
happens.
I suppose that I must
install it in the same path as original. I’ll l try it now.
How I compiled it as
static library to works in XSI?
Thanks again
De: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] En nombre de Luc-Eric Rousseau
Enviado el: miércoles, 02 de
agosto de 2006 21:59
Para: XSI(at)Softimage.COM
Asunto: RE: My compiled plugin
only runs in the computer that I compiled
.. that's "dumpbin /imports [your_dll_or_exe] |
findstr /i dll"
but using the dependancy walker is more fun -- and checks recursivly
-----Original Message-----
From: owner-xsi(at)Softimage.COM on
behalf of Luc-Eric Rousseau
Posted At: Wed 8/2/2006 3:40 PM
To: XSI(at)Softimage.COM
Posted To: xsi
Conversation: My compiled plugin only runs in the computer that I compiled
Subject: RE: My compiled plugin only runs in the computer that I compiled
I don't think you're using the dot net framework, and anyway msvcrt8
is the C runtime library, not related to the .net frmae. It is indeed
probably
what's missing. Just use depends.exe http://www.dependencywalker.com/
on the machine where it isn't working to find out which dll is missing.
if is one of those msvs*.dll, just put them in the same directory as your
dll and redistribute that. Or change your compiler settings
to use
the static version of the C Run-time library.
at the VC++ command line you can find out which dll you
need by typing : dumpbin /imports | findstr /i dll
-----Original Message-----
From: owner-xsi(at)Softimage.COM on
behalf of Agedito
Posted At: Wed 8/2/2006 2:50 PM
To: XSI(at)Softimage.COM
Posted To: xsi
Subject: RE: My compiled plugin only runs in the computer that I compiled
Thanks Anthony
I think that you says is possible, NET frameworks would be the reason. I
don't have msvcrt8.dll in my computer but I'm searching a Visual C++ 6
version, I hope that it solve me problem.
Thanks a lot
-----Mensaje original-----
De: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] En
nombre de
Anthony Rossano
Enviado el: miércoles, 02 de agosto de 2006 20:07
Para: XSI(at)Softimage.COM
Asunto: Re: My compiled plugin only runs in the computer that I compiled
Hello,
Yes, this is a pain in the butt. Even if you have compiled with debug
off, if you are using a visual studio version with .Net framework, and
if your .Net framework updated itself, it's probably (certainly)
linking against msvcrt8.dll
which is not included as a standard part of the OS distribution on ANY
version of windows (except Vista).
So - bottom line - if you compile with current .NET framework, when
you distribute your shader you also must distribute the msvcrt8.dll and
give instructions on where to put it (I can't remember now..)
The easier solution is to find an old copy of MS Visual C 6.0 I think,
and compile with that.
That's my opinion - I could be wrong or behind the times on this
advice.
Best o luck -
ATR