Hi rob ,

Firstly about the "nmake test" - it too has the same issue wherein it cannot 
load the dll generated  - the error message is like :

C:\Mytest>nmake test

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

cp hello.pl blib\lib\hello.pl
Skip blib\lib\Mytest.pm (unchanged)
        cl -c  -I.  -nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO
_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CON
TEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
    -DVERSION=\"0.01\"  -DXS_VERSION=\"0.01\"  "-IC:\Perl2\lib\CORE"   Mytest.c
Mytest.c
Running Mkbootstrap for Mytest ()
        C:\Perl2\bin\perl.exe -MExtUtils::Command -e chmod 644 Mytest.bs
        link -out:blib\arch\auto\Mytest\Mytest.dll -dll -nologo -nodefaultlib -d
ebug -opt:ref,icf  -libpath:"C:\Perl2\lib\CORE"  -machine:x86 Mytest.obj   C:\Pe
rl2\lib\CORE\perl58.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 ws2_32.lib mpr.lib winmm.lib  version.lib odbc32.lib odbccp32.lib msvcr
t.lib -def:Mytest.def
   Creating library blib\arch\auto\Mytest\Mytest.lib and object blib\arch\auto\M
ytest\Mytest.exp
        C:\Perl2\bin\perl.exe -MExtUtils::Command -e chmod 755 blib\arch\auto\My
test\Mytest.dll
        C:\Perl2\bin\perl.exe -MExtUtils::Command -e cp Mytest.bs blib\arch\auto
\Mytest\Mytest.bs
        C:\Perl2\bin\perl.exe -MExtUtils::Command -e chmod 644 blib\arch\auto\My
test\Mytest.bs
        C:\Perl2\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'b
lib\lib', 'blib\arch')" t/*.t
t/Mytest....
t/Mytest....NOK 1#   Failed test 'use Mytest;'
#   in t/Mytest.t at line 9.
#     Tried to use 'Mytest'.
#     Error:  Can't load 'C:\Mytest\blib\arch/auto/Mytest/Mytest.dll' for module
 Mytest: load_file:The specified module could not be found at C:/Perl2/lib/DynaL
oader.pm line 230.
#  at (eval 3) line 2
# Compilation failed in require at (eval 3) line 2.
# BEGIN failed--compilation aborted at t/Mytest.t line 9.
# Looks like you failed 1 test of 1.
t/Mytest....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/1 tests, 0.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/Mytest.t     1   256     1    1 100.00%  1
Failed 1/1 test scripts, 0.00% okay. 1/1 subtests failed, 0.00% okay.
NMAKE : fatal error U1077: 'C:\Perl2\bin\perl.exe' : return code '0x1'
Stop.

I tried searching for COREdll.dll but none of them seem to be the answer

Sisyphus <[EMAIL PROTECTED]> wrote: 
----- Original Message ----- 
From: prashanth paramanandan
To: [email protected]
Sent: Wednesday, February 21, 2007 5:01 AM
Subject: Query regarding XS-XSUB module in activestate perl on windows XP


Hi
I was able to create a Xtension Subroutine but at the time when i try to run 
my test perl file:

perl hello.pl

I encounter the error : COREdll.dll not found and the script compliants 
saying:
(It was earlier complaining of not finding msvcr80.dll which i solved by 
puttin git into the system32 folder )

--This is the error message --

Can't load 'C:\Mytest\blib\arch/auto/Mytest/Mytest.dll' for module Mytest: 
load
file:The specified module could not be found at C:/Perl2/lib/DynaLoader.pm 
line
230.
 at hello.pl line 2
Compilation failed in require at hello.pl line 2.
BEGIN failed--compilation aborted at hello.pl line 2.

-------------------------------------------------------

Did you run 'nmake test' while building your extension ? If so, did the test 
script attempt to load (use) your 'Mytest' module ? Is so, did it succeed in 
doing that ?

If Mytest.dll needs COREdll.dll and can't find it, then that will certainly 
prevent Mytest.dll from loading. Unfortunately, I don't know what 
COREdll.dll is, why it might be needed, or where to get it - but searching 
with Google for COREdll.dll looks promising:

http://www.google.com.au/search?hl=en&q=COREdll.dll&btnG=Google+Search&meta=

Cheers,
Rob 



 
---------------------------------
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to