which encyption for Windows file 25MB

2005-12-13 Thread Bullock, Howard A.
Title: which encyption for Windows file 25MB I think that I need Crypt::CBC and some encryption algorithm. Does anyone have any recommended modules for encrypting/decrypting a 25MB windows NTFS file? ___ Perl-Win32-Users mailing list

Working example of code that runs as EXCEL macro/module

2005-12-13 Thread prichcre
Can someone post or point me to some working code that runs under EXCEL? Doesn't have to be anything fancy, in fact, simpler is probably better. I just want a starting point that illustrates how the interface between EXCEL and perl works. Thanks in advance, Phil

Re: Working example of code that runs as EXCEL macro/module

2005-12-13 Thread VnPenguin
On 12/13/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Can someone post or point me to some working code that runs under EXCEL? Doesn't have to be anything fancy, in fact, simpler is probably better. I just want a starting point that illustrates how the interface between EXCEL and perl works.

Win32::API::Struct problem

2005-12-13 Thread Rod Butcher
Greetings from Sydney, my first post here. I have written a Perl script to change thread priorities using Win32::API. I followed the online examples at MSDN for the API calls needed which are as follows (I've omitted the Imports) :- CreateToolhelp32Snapshot Process32First Process32Next

Re: Win32::API::Struct problem

2005-12-13 Thread Chris Wagner
At 11:08 AM 12/14/2005 +1100, Rod Butcher wrote: TCHAR szExeFile[MAX_PATH]; }; I then get error Invalid Type 'M' in pack... at Struct.pm. This appears to be happening at [MAX_PATH] because I don't get the error if I omit it or hardcode it to 1 e.g. [1]. But if I do then I then get That

Re: Win32::API::Struct problem

2005-12-13 Thread Rod Butcher
Chris Wagner wrote: At 11:08 AM 12/14/2005 +1100, Rod Butcher wrote: TCHAR szExeFile[MAX_PATH]; }; I then get error Invalid Type 'M' in pack... at Struct.pm. This appears to be happening at [MAX_PATH] because I don't get the error if I omit it or hardcode it to 1 e.g. [1]. But if I do then I

Re: Win32::API::Struct problem

2005-12-13 Thread Sisyphus
- Original Message - From: Rod Butcher It looks like MAX_PATH defines the length of variable length string szExeFile, in C. MAX_PATH is just a constant whose value is defined in (I think) stdlib.h. If you have either the MinGW or Visual Studio compiler you should be able to determine