.exe started by a service crashes when sound card or USB device ac

G

Guest

When the process aft.exe is started normally (double click on .exe file),
everything works OK!

When I start aft.exe from a service using Process.Start(), aft.exe crashes
when the sound card or a USB device is accessed.

I thought the problem could be permissions. There is only one hardware
profile on my computer.
 
G

Guest

Check the standard output property and see if there are messages. Try the
same by starting aft.exe from the command line and accessing the hardware.
This will rule out normal behavior that .NET cannot compensate for. I will
have to think about other ideas.

NOTE: Standard out might give you some info that will help determine the
real root of the problem..
---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
G

Guest

I've started AFT.exe many ways but...

AFT.exe does not crash unless started by a service using Process.Start()
 
R

Rhett Gong [MSFT]

Could you try set the service logon type to a user account to see if it
could run correctly?
If not, then this may be a permission issue in aft.exe to access the io
device. Could you tell which API you called inside the AFT failed? And what
error you get? If possible, could you post some snippet here so that we
can test in house to see what really happens.

Thanks,
Rhett Gong [MSFT]
Microsoft Online Partner Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top