A
AxOn
Hi,
I'm trying to make an application that runs robocopy on some files
over a network and then closes, when users shutdown or log off windows
xp. The robocopy process on its own works fine, but when the app is
running while I log off, windows session ending process hangs, and I
get this cmd.exe error: The application failed to initialize properly
(0xc0000142)
So my question is can I somehow work around this error or can I get
windows to wait till my app is closed before shutting down?
I'm trying to make an application that runs robocopy on some files
over a network and then closes, when users shutdown or log off windows
xp. The robocopy process on its own works fine, but when the app is
running while I log off, windows session ending process hangs, and I
get this cmd.exe error: The application failed to initialize properly
(0xc0000142)
So my question is can I somehow work around this error or can I get
windows to wait till my app is closed before shutting down?