ActivePerl (Windowsç) ã«ã¯ DynaLoader ãä»å±ãã¦ããã®ã§ãä»æ¥ããããã« DynaLoader::dl_install_xsub ãå©ç¨ããããã°ã©ãã³ã°ãåºæ¥ã¾ãã ç°¡åãªã¡ãã»ã¼ã¸ããã¯ã¹ã表示ããPerlããã°ã©ã ã¯ä»¥ä¸ã«ãªãã¾ãã #!/usr/bin/perl use DynaLoader; sub GetProcAddress { my ($DLL, $API) = @_; my $path = "$ENV{SystemRoot}\\system32\\$DLL"; my $libref = DynaLoader::dl_load_file($path); pack "L", DynaLoader::dl_find_symbol($libref, $API); } my $x86 = "" . "h\0\0\0\0" . "h" . pack(
{{#tags}}- {{label}}
{{/tags}}