RE: process started by Process.Start crashes when USB device accessed
From: Steven Cheng[MSFT] (v-schang_at_online.microsoft.com)
Date: 12/23/04
- Next message: bnaya: "Win Service GUI"
- Previous message: Arios Tsao: "Re: My Application donīt run out my Pc ?"
- In reply to: Landon Kelsey: "process started by Process.Start crashes when USB device accessed"
- Next in thread: Landon Kelsey: "RE: process started by Process.Start crashes when USB device acces"
- Reply: Landon Kelsey: "RE: process started by Process.Start crashes when USB device acces"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 23 Dec 2004 06:10:10 GMT
Hi Landon,
Thanks for your posting. From your description, you've a .net based NT
service in which you use the
Process.Start to create a new process to run a certain application(exe)
which will acess the sound card and USB device. But you found the that new
process will crash. And if you run the exe app via double clicking , that's
ok ,yes?
As for such problem, I think it is likely concerned with the aft.exe app.
Does this app need to run in a UI context or have interactive processing?
Since the windows service / asp.net service application are all
non-UI/non-interactive based, start interactive applicaitons in them will
cause many unexpected errors.
Also, as for the security you mentioned, is your NT service run under a
powerful account or a restricted account?
In addition, you can also try set the ProcessStartInfo's
CreateNoWindow = true
UseShellExecute = false
to see whether it'll help.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
- Next message: bnaya: "Win Service GUI"
- Previous message: Arios Tsao: "Re: My Application donīt run out my Pc ?"
- In reply to: Landon Kelsey: "process started by Process.Start crashes when USB device accessed"
- Next in thread: Landon Kelsey: "RE: process started by Process.Start crashes when USB device acces"
- Reply: Landon Kelsey: "RE: process started by Process.Start crashes when USB device acces"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|