Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Find device letter {Win32API::File::SetErrorMode()}

by tye (Sage)
on Mar 21, 2014 at 05:05 UTC ( [id://1079183]=note: print w/replies, xml ) Need Help??


in reply to Re: Find device letter
in thread Find device letter

FYI, it is a bit easier to use the SetErrorMode() that is provided more directly via Win32API::File (a module that is even "core").

use Win32API::File qw< SetErrorMode SEM_FAILCRITICALERRORS >; SetErrorMode( SEM_FAILCRITICALERRORS() | SetErrorMode(0) );

- tye        

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079183]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found