----- Original Message ----- From: "Jan Dubois" <j...@activestate.com>
>> Do you know the actual command I need to run ? > > It would be something like this: > > mt -nologo -manifest Common.dll.manifest -outputresource:Common.dll;2 > The *.manifest file gets written by link.exe when it builds the DLL using > VC 8. It should be in the same directory as the *.dll. You need to call > mt.exe after link.exe. I can see that the Makefile actually runs that command after link.exe: if exist blib\arch\auto\XML\LibXML\Common\Common.dll.manifest mt -nologo -manifest blib\arch\auto\XML\LibXML\Common\Common.dll.manifest -outputresource: blib\arch\auto\XML\LibXML\Common\Common.dll;2 But 'blib\arch\auto\XML\LibXML\Common\Common.dll.manifest' does not exist. Note that I'm not actually building XML-LibXML-Common with VC 8. I'm using the Platform SDK, Windows Server 2003 R2 compiler. It's just that I'm linking against dynamic xml2 and iconv libraries that were built with VC 8. It all works fine, except for the runtime error. (There must surely be a way of resolving this without having to build the libraries using the SDK compiler.) I did find a manifest file for an x86 Net::SSH2 dll, and I've tried to create a manifest file for Common.dll based on it. But I don't seem to be able to get it right. With my Common.dll.manifest file in place, I can then successfully run the mt.exe command, but 'nmake test' then outputs the error: Can't load 'blib\arch/auto/XML/LibXML/Common/Common.dll' for module XML::LibXML: :Common: 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/DynaLoader.pm line 202. at test.pl line 10 Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs