Hi all,

I'm running Perl 5.10 on Windows XP.

I'm writing a program that must decrypt some data using Microsoft's CryptUnprotectData() function. If I use Luigino Masarati's Win32::CryptData module (http://search.cpan.org/~lmasara/Win32-CryptData-0.02/CryptData.pm), my program decrypts the data but then immediatley crashes. Sometimes I get an "Out of memory!" error. As an alternative, I've tried using Win32::API and simply making the call to
CryptUnprotectData() myself, but I can't get that to work either--I probably don't have the arguments right (no crash, it just always returns 0).

Could anyone help me figure out what's wrong with
Win32::CryptData, or how to use Win32::API to call CryptUnprotectData() myself? I've been banging my head against the wall for days on this, so I'll take any help I can get.

Thanks,
Rob


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to