in reply to Re: inline c
in thread inline c

Hi,

I also needed to add that I get this complaint at the command line.

Had problems bootstrapping Inline module 'test_inline_pl_48d2'

Can't load 'C:\inline\_Inline\lib/auto/test_inline_pl_48d2/test_inline_pl_48d2.dll' for
module test_inline_pl_48d2: load_file:A dynamic link library (DLL) initialization routine failed at C:/Perl/lib/DynaLoader.pm line 230.
at C:/Perl/site/lib/Inline.pm line 500

at C:/Perl/lib/DynaLoader.pm line 0 INIT failed--call queue aborted.

and that going to the dyanloader.pm line 230 gives this:

# Many dynamic extension loading problems will appear to come from
# this section of code: XYZ failed at line 123 of DynaLoader.pm.
# Often these errors are actually occurring in the initialisation
# C code of the extension XS file. Perl reports the error as being
# in this perl code simply because this was the last perl code
# it executed.
my $libref = dl_load_file($file, $module->dl_load_flags) or
croak("Can't load '$file' for module $module: ".dl_error());

I have only read a bit about XS and most of what i read said to avoid it and use the Inline::C

Angel

Hey! I can be trained!!