Checking if your kit is complete... Looks good Writing Makefile for Win32::API::Callback Writing Makefile for Win32::API Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cp API.pm blib\lib\Win32/API.pm cp Struct.pm blib\lib\Win32/API/Struct.pm cp Type.pm blib\lib\Win32/API/Type.pm cp Callback.pm blib\lib\Win32/API/Callback.pm cp Test.pm blib\lib\Win32/API/Test.pm D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib D:\cpanrun\build\5-6-1\lib\ExtUtils/xsubpp -typemap D:\cpanrun\build\5-6-1\lib\ExtUtils\typemap Callback.xs > Callback.xsc && D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e mv Callback.xsc Callback.c cl -c -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -Zi -DNDEBUG -DVERSION=\"0.47\" -DXS_VERSION=\"0.47\" -ID:\cpanrun\build\5-6-1\lib\CORE Callback.c Callback.c "Running Mkbootstrap for Win32::API::Callback ()" D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 644 Callback.bs D:\cpanrun\build\5-6-1\bin\perl.exe "-Id:\cpanrun\build\5-6-1\lib" "-Id:\cpanrun\build\5-6-1\lib" -MExtUtils::Mksymlists -e "Mksymlists('NAME' => 'Win32::API::Callback', 'DLBASE' => 'Callback', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:..\blib\arch\auto\Win32\API\Callback\Callback.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"d:\cpanrun\build\5-6-1\lib\CORE" -machine:x86 Callback.obj D:\cpanrun\build\5-6-1\lib\CORE\perl56.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 msvcrt.lib -def:Callback.def Creating library ..\blib\arch\auto\Win32\API\Callback\Callback.lib and object ..\blib\arch\auto\Win32\API\Callback\Callback.exp D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 755 ..\blib\arch\auto\Win32\API\Callback\Callback.dll D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e cp Callback.bs ..\blib\arch\auto\Win32\API\Callback\Callback.bs D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 644 ..\blib\arch\auto\Win32\API\Callback\Callback.bs D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib D:\cpanrun\build\5-6-1\lib\ExtUtils/xsubpp -typemap D:\cpanrun\build\5-6-1\lib\ExtUtils\typemap -typemap typemap API.xs > API.xsc && D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e mv API.xsc API.c cl -c -nologo -O1 -MD -Zi -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -O1 -MD -Zi -DNDEBUG -DVERSION=\"0.47\" -DXS_VERSION=\"0.47\" -ID:\cpanrun\build\5-6-1\lib\CORE API.c API.c "Running Mkbootstrap for Win32::API ()" D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 644 API.bs D:\cpanrun\build\5-6-1\bin\perl.exe "-Id:\cpanrun\build\5-6-1\lib" "-Id:\cpanrun\build\5-6-1\lib" -MExtUtils::Mksymlists -e "Mksymlists('NAME' => 'Win32::API', 'DLBASE' => 'API', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);" link -out:blib\arch\auto\Win32\API\API.dll -dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"d:\cpanrun\build\5-6-1\lib\CORE" -machine:x86 API.obj D:\cpanrun\build\5-6-1\lib\CORE\perl56.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 msvcrt.lib -def:API.def Creating library blib\arch\auto\Win32\API\API.lib and object blib\arch\auto\Win32\API\API.exp D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 755 blib\arch\auto\Win32\API\API.dll D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e cp API.bs blib\arch\auto\Win32\API\API.bs D:\cpanrun\build\5-6-1\bin\perl.exe -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -MExtUtils::Command -e chmod 644 blib\arch\auto\Win32\API\API.bs Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. D:\cpanrun\build\5-6-1\bin\perl.exe -Mblib -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -e "use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;" t\00_API.t t\01_Struct.t t\02_GetProcess.t Using D:/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Win32-API/blib t\00_API............1..24 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - use Win32; ok 4 - loaded # API_Test.dll found at (.\API_test.dll) ok 5 - found API_Test.dll ok 6 - GetCurrentProcessId() function found # $^E= # GetCurrentProcessId() = 1520 # $$=1520 ok 7 - GetCurrentProcessId() result ok # Now the same test, with prototype # $^E= # GetCurrentProcessId() = 1520 # $$=1520 ok 8 - GetCurrentProcessId() result ok # Now the same test, with Import ok 9 - Import of GetCurrentProcessId() function from kernel32.dll # $^E= # GetCurrentProcessId() = 1520 # $$=1520 ok 10 - GetCurrentProcessId() result ok ok 11 - sum_integers() function defined # $^E= ok 12 - function call with integer arguments and return value ok 13 - sum_integers_ref() function defined # $^E= ok 14 - sum_integers_ref() call works ok 15 # skip because function call with doubles segfaults even with msvc6 ok 16 # skip because function call with doubles segfaults even with msvc6 ok 17 - sum_doubles_ref() function defined # $^E= ok 18 - sum_doubles_ref() call works ok 19 - sum_floats() function defined # $^E= ok 20 # skip because function call with floats segfaults ok 21 - sum_floats_ref() function defined # $^E= ok 22 - sum_floats_ref() call works ok 23 - find_char() function defined # $^E= ok 24 - find_char() function call works find_char: got 'japh', 'a' find_char: tmp now 'japh' find_char: tmp now 'aph' ok, 3/24 skipped: various reasons t\01_Struct.........1..7 ok 1 - use Win32::API; ok 2 - use Win32::API::Test; ok 3 - loaded ok 4 - found API_Test.dll ok 5 - mangle_simple_struct() function # $^E= ok 6 - mangling of simple structures work ok 7 - tied interface works dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x4c 05: 0xfd 06: 0x40 07: 0x01 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x9c 21: 0x61 22: 0x00 23: 0x10 24: 0xb1 dump_struct: [mine at 0x0140fbf8] a=5 b=2.500000 c=0x00000000 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x34 17: 0xc8 18: 0xd2 19: 0x01 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x00 dump_struct: [yours at 0x01d25928] a=5 b=2.500000 c=0x01d2c834 'test' x.a=2 x.b=5.000000 x.c=0x01d2c834 x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x4c 05: 0xfd 06: 0x40 07: 0x01 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0x00 17: 0x00 18: 0x00 19: 0x00 20: 0x9c 21: 0x61 22: 0x00 23: 0x10 24: 0xb1 dump_struct: [mine at 0x0140fbf8] a=5 b=2.500000 c=0x00000000 dump_struct: 00: 0x05 01: 0x00 02: 0x00 03: 0x00 04: 0x00 05: 0x00 06: 0x00 07: 0x00 08: 0x00 09: 0x00 10: 0x00 11: 0x00 12: 0x00 13: 0x00 14: 0x04 15: 0x40 16: 0xe4 17: 0x4a 18: 0xd2 19: 0x01 20: 0x00 21: 0x00 22: 0x00 23: 0x00 24: 0x00 dump_struct: [yours at 0x01d254a0] a=5 b=2.500000 c=0x01d24ae4 'test' x.a=2 x.b=5.000000 x.c=0x01d24ae4 x.c='test' char='t' toupper='T' char='e' toupper='E' char='s' toupper='S' char='t' toupper='T' ok t\02_GetProcess.....1..3 ok 1 - use Win32::API; ok 2 - kernel32!GetCurrentProcessId import successful # $result=1520 # $$=1520 ok 3 - kernel32!GetCurrentProcessId() == Perl's $$ ok All tests successful, 3 subtests skipped. Files=3, Tests=34, 1 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) D:\cpanrun\build\5-6-1\bin\perl.exe -Mblib -Id:\cpanrun\build\5-6-1\lib -Id:\cpanrun\build\5-6-1\lib -e "use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;" t\02_Callback.t Using D:/cpanrun/depot/main/contrib-patched/perl/CPAN/src/Win32-API/Callback/../blib t\02_Callback.......# Compiler name: # Compiler version:0 # $^E= ok, 1/8 skipped: because callbacks currently /SEGFAULT/ all compilers but MSVC 6 All tests successful, 1 subtest skipped. Files=1, Tests=8, 0 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\API.bs Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\API.dll Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\API.exp Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\API.lib Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\API.pdb Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\Callback\Callback.bs Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\Callback\Callback.dll Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\Callback\Callback.exp Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\Callback\Callback.lib Installing D:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\Callback\Callback.pdb Installing D:\cpanrun\build\5-6-1\site\lib\Win32\API.pm Installing D:\cpanrun\build\5-6-1\site\lib\Win32\API\Callback.pm Installing D:\cpanrun\build\5-6-1\site\lib\Win32\API\Struct.pm Installing D:\cpanrun\build\5-6-1\site\lib\Win32\API\Test.pm Installing D:\cpanrun\build\5-6-1\site\lib\Win32\API\Type.pm Writing d:\cpanrun\build\5-6-1\site\lib\auto\Win32\API\.packlist Appending installation info to d:\cpanrun\build\5-6-1\lib/perllocal.pod