
Problem calling executables from Win95 ('General failiure' on A: when there is no reference to A:)
) ;kjgblkjghnlkuy
Okay. The original post didn't make it to my unworthy news server
so I can't complain.
) >When calling any external program (located on my C: drive) from the
) >script my A: drive is accessed. I get the following message:
) >
) > General failure reading device LP!!?
) > Abort, Retry, Fail?
This is controlled by the SEM_FAILCRITICALERRORS flag of
SetErrorMode(). To use this Win32 API from Perl, get my
forthcoming v0.06 of Win32API::File or get Win32::API and
write your own interface to it.
The value of SetErrorMode() is inherited from the parent
process so how this is set will affect how other programs
behave.
For more information, get the Win32 SDK documentation from
Microsoft (or included with your Win32 C compiler).
Check
http://www.metronet.com/~tye/alpha/Win32API/
if v0.06 of Win32API::File isn't on your CPAN server when you read
this.
--
Tye McQueen Nothing is obvious unless you are overlooking something
http://www.metronet.com/~tye/ (scripts, links, nothing fancy)