$Bill Luebkert wrote:
Rod Butcher wrote:
Foo Ji-Haw wrote:
Dirk Bremer wrote:
What is the easiest method to detect whether or not a directory exists?
I will need to create the directory/subdirectory if it is not already
present. The file test -d does not seem to do the trick.
What's wrong
Foo Ji-Haw wrote:
Dirk Bremer wrote:
What is the easiest method to detect whether or not a directory exists?
I will need to create the directory/subdirectory if it is not already
present. The file test -d does not seem to do the trick.
What's wrong with -d? It' is not a file test. It's a
Christopher Taranto wrote:
Hi Ken,
Wednesday, January 4, 2006, 5:07:58 AM, you wrote:
LK Thanks to Steven Manross, I'm a step further along in
LK troubleshooting this. Using Steven's suggestion, I got the
LK following from OLE-LastError: 'Win32::OLE(0.1403) error
LK 0x80070005: Access is
Many thanks Bill, I had got into my head the idea that I had to walk
thru the proceeses to get to the threads i.e. a hierarchy of threads
within processes - whereas as you point out I go straight to the threads
via TH32CS_SNAPTHREAD (a flat structure). The code I ended up with
follows. Many
$Bill Luebkert wrote:
Rod Butcher wrote:
It looks like MAX_PATH defines the length of variable length string
szExeFile, in C. Hence for C this is a legal field definition.. but it
looks to me as if Win32::Api::Struct is not handling it as such. Neither
my Perl nor my C is strong enough
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
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