2009/5/20 Sisyphus <sisyph...@optusnet.com.au>: > Hi, > A friend of mine has the same x64 build of ActivePerl as I do (namely, build > 1004). > > He built Tk-804.028 for his perl using the 2008 compiler. > I built Tk-804.028 for my perl using the Platform SDK for Windows Server > 2003 R2 compiler. > > Both of our builds of Tk work fine on the machines on which they were built. > > But his (2008-built) binaries are unworkable on my machine. Once I install > them, any attempt by me to 'use Tk;' produces: > > ######################################## > C:\>perl -MTk -le "print $Tk::VERSION" > Can't load 'C:/_64/perl1004/site/lib/auto/Tk/Event/Event.dll' for module > Tk::Event: load_file:The application has failed to start because its > side-by-side configuration is incorrect. Please see the application event > log for more detail at C:/_64/perl1004/lib/XSLoader.pm line 64. > at C:/_64/perl1004/site/lib/Tk/Event.pm line 11 > Compilation failed in require at C:/_64/perl1004/site/lib/Tk.pm line 13. > BEGIN failed--compilation aborted at C:/_64/perl1004/site/lib/Tk.pm line 13. > Compilation failed in require. > BEGIN failed--compilation aborted. > ######################################## > > I thought that running vcredist_x64.exe on my machine might fix that > problem, but it makes no difference - I even rebooted the machine and > re-installed my friend's Tk binaries after running vcredist_x64.exe. > > Anyone have any ideas on what's needed to fix this incompatibility ? > > (Btw, we haven't tried running my SDK-built binaries on his machine - but > that's not the issue.)
It almost certainly because your friends's Event.dll will have an embedded manifest requiring the VC80 CRT which you won't have installed (although you didn't say which vcredist_x64.exe you ran on your machine). Have a look at this article: http://blogs.msdn.com/junfeng/archive/2006/04/14/576314.aspx for further debugging information - skip down to the Vista section, and you'll see that you can look in the event log for errors in the application log from the 'SideBySide' source to get more information about what dependency can't be located. Rob. _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs