Dave Rolsky wrote:
> Anyone have any ideas?
[snip]
> I'm getting issues building the library using VC8 cl.exe on Win32 XP
> platform with ActiveState Perl installed. When running nmake test I
> get rampant failures:
[snip]
> For some reason datetime.dll cant load from the build folder even
> though it exists - any suggestions (other than not use Windows...)?
Most likely this is caused by a missing manifest that's required by the
new unmanaged assemblies stuff. That is, DateTime.dll most likely
doesn't know where to find the C runtime libraries, thus can't be loaded
successfully.
Note that ActiveState's distribution is compiled with cl version 12.
Well, at least my 5.8.8 Build 816 is.
C:\>perl -V:ccversion
ccversion='12.00.8804';
Visual C++ 8 comes with compiler version 14. Not sure if it's a good
idea to mix those. If you still dare, check if near your DateTime.dll
is a file called DateTime.dll.manifest. If yes, try the following:
"%VSINSTALLDIR%\VC\bin\mt.exe" ^
/manifest DateTime.dll.manifest ^
/outputresource:DateTime.dll;#2
This will embed the manifest in the DLL.
Ron