develooper Front page | perl.perl5.porters | Postings from November 1999

[ID 19991110.007] Perl 5.005_62 and Win32::OLE 0.1101

Thread Next
Paul Moore
November 10, 1999 13:45
[ID 19991110.007] Perl 5.005_62 and Win32::OLE 0.1101
Message ID:
This is a bug report for perl from,
generated with the help of perlbug 1.27 running under perl 5.00562.

[Please enter your report here]

Building Win32::OLE 0.1101 with Perl 5.005_62 (NT4SP5, VC6SP3) I
get an Application Error in t/3_ole.t (code referening memory at

The test uses Excel, and I have Excel 2000 installed, so there
may be a version issue, but I have put trace print statements
into the code, and it looks like the problem occurs sometime
while Win32::OLE::Const is being *loaded*, but before the import
subroutine is run.

The only nontrivial code I can see which is run when the module is
required, is my $Typelibs = __PACKAGE__->_Typelibs();

I put a croak() at the start of the _Typelibs() code, and the
crash still occurred (ie, it occurred before the croak).

I now don't know what is likely to be the problem...

Some other notes:

1. PERL_INTERNAL_GLOB requires my Win32 patches. Otherwise,
   MakeMaker breaks - it generates TEST_FILES = t*.t, which
   presumably came from t\*.t with the \ "quoting" the *.

2. My initial build had Sarathy's STOP block patch and my
   File::Glob patch included. Taking these out made no difference.
   (beyond the fact that nmake test failed to work, as I
   mentioned above).

3. I rebuilt with USE_BINMODE_SCRIPTS removed. That made no

[Please do not change anything below this line]

Site configuration information for perl 5.00562:

Configured by Administrator at Tue Nov  9 22:00:15 1999.

Summary of my perl5 (revision 5.0 version 5 subversion 62) configuration:
    osname=MSWin32, osvers=4.0, archname=MSWin32-x86
    hint=recommended, useposix=true, d_sigaction=undef
    usethreads=undef useperlio=undef d_sfio=undef
    use64bits=undef usemultiplicity=undef
    cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion=
    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  -libpath:"E:\Applications\DevPerl\lib\MSWin32-x86\CORE"  -machine:x86'
    libs=-DELAYLOAD:wsock32.dll delayimp.lib E:\CDs\General\Libraries\Lib\MD\libdes.lib  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 PerlCRT.lib
    libc=PerlCRT.lib, so=dll, useshrplib=yes, libperl=perl.lib
  Dynamic Linking:
    dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ',
ddlflags='-dll -nologo -nodefaultlib -release  -libpath:"E:\Applications\DevPerl\lib\MSWin32-x86\CORE"  -machine:x86'

Locally applied patches:

@INC for perl 5.00562:

Environment for perl 5.00562:
    HOME (unset)
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)

;D:\Program Files\Oracle\jre\1.1.7\bin
    PERL_BADLANG (unset)
    SHELL (unset)

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About