> Try this...
>
> $cmCmd->Properties('Output stream')->{'Value'} = $sResponseStream;
>
> I can't test it but I think that's the correct invocation.
>
> Steven
Actually that is equivalent to what I had:
$cmCmd->{'Properties'}->{'Output stream'}->{'Value'} = $sResponseStream;
What ended up working
My ppm has both the ActiveState repository and the Winnipeg
repository installed. Previously, I could install the Crypt-PasswdMD5
library via ppm (I don't know for sure at which repository it was
found), but now, on another computer, it cannot be found. On my
computer, where it is currently ins
Win32:API
C code :
--
int __stdcall my_func( int num ) {
return num;
}
--
.def file
--
LIBRARY myfunc
EXPORTS
my_func
--
Perl Code :
--
use Win32::API;
$function = Win32::API->new( 'myfunc.dll', 'int __stdcall my_func( int num )',
Title: Message
Can anyone help me
with an example of a perl script calling a dll on a windows box. What module's
support this if there are any and a snippit of code would be helpful.
thanks
--nick
Confidentiality Note: The information contained in this message, and any
at
John Deighan wrote:
> My ppm has both the ActiveState repository and the Winnipeg
> repository installed. Previously, I could install the Crypt-PasswdMD5
> library via ppm (I don't know for sure at which repository it was
> found), but now, on another computer, it cannot be found. On my
> compu
$Bill wrote:
> Used to be here - probably removed for legal reasons - maybe ask Randy if
he'd be willing to add it ([EMAIL PROTECTED]):
It seems like there are a lot of problems with finding packages
(particularly crypt related) and connectivity/speed issues with the PPM
servers. What is involved
On Thu, 13 Oct 2005, $Bill Luebkert wrote:
John Deighan wrote:
My ppm has both the ActiveState repository and the Winnipeg
repository installed. Previously, I could install the Crypt-PasswdMD5
library via ppm (I don't know for sure at which repository it was
found), but now, on another computer
[EMAIL PROTECTED] wrote:
> # Functional style
> use Digest::HMAC_MD5 qw(hmac_md5 hmac_md5_hex);
> $digest = hmac_md5($data, $key);
> print hmac_md5_hex($data, $key);
> # OO style
> use Digest::HMAC_MD5;
> $hmac = Digest::HMAC_MD5->new($key);
> $hmac->add($data);
> $hmac->addfile(*FILE);
>
# Functional style
use Digest::HMAC_MD5 qw(hmac_md5 hmac_md5_hex);
$digest = hmac_md5($data, $key);
print hmac_md5_hex($data, $key);
# OO style
use Digest::HMAC_MD5;
$hmac = Digest::HMAC_MD5->new($key);
$hmac->add($data);
$hmac->addfile(*FILE);
$digest = $hmac->digest;
$digest = $hmac->h