Re: My compiled plugin only runs in the computer that I compiled

Date : Thu, 03 Aug 2006 11:24:18 +1000
To : XSI(at)Softimage.COM
From : Andy Hayes <andyh(at)al.com.au>
Subject : Re: My compiled plugin only runs in the computer that I compiled
You should be able to just right click on the compiled DLL and see what dependancies it needs too - the lazy approach I guess :)

Luc-Eric Rousseau wrote:

.. 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




--
+===================+
Andy Hayes
VFX TD - Animal Logic
Tel:  +61 2 9383 4128
+===================+


--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.