DLL problem under win32

Barney Dalton (barney@mech.uwa.edu.au)
Wed, 14 Apr 1999 09:38:55 +0800


Hi,
I've been using the HTML part of libwww for a while without any problems.
I was needed to find out what version I had so tested the following
script:

use LWP;
print "This is libwww-perl-$LWP::VERSION\n";

this produces a windows error dialog saying unable to locate DLL cw3230mt.dll
when I hit ok the script completes and prints the version.

Z:\PerlScripts>perl lwpVersion.pl
This is libwww-perl-5.11

Z:\PerlScripts>

I then tried to reinstall lwp, and get the same error when running
Makefile.PL and the tests - yet thet tests still complete
successfully. Any ideas what I'm doing wrong? I think cw3230mt is a
borland file, and I compiled perl with visual C++.


my perl version:

Summary of my perl5 (5.0 patchlevel 5 subversion 02) configuration:
  Platform:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    uname=''
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cl.exe', optimize='-Od -MD -DNDEBUG', gccversion=
    cppflags='-DWIN32'
    ccflags ='-Od -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT   '
    stdchar='char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='link', ldflags ='-nologo -nodefaultlib -release -machine:x86'
    libpth=C:\Program Files\DevStudio\VC\lib
    libs= oldnames.lib kernel32.lib user32.lib gdi32.lib  winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib  oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcrt.lib
    libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release -machine:x86'


Characteristics of this binary (from libperl):
  Built under MSWin32
  Compiled at Jan  4 1999 15:37:55
  @INC:
    d:\perl\lib/MSWin32-x86
    d:\perl\lib
    d:\perl\site\5.00502\lib
    d:\perl\site\lib/MSWin32-x86
    d:\perl\site\lib
    .

D:\temp\libwww-perl-5.22>


barney