Problem Starting More That 4 Bartend.exe As A Service 追蹤
We are using ActiveX to call Bartender from our C++ application. The program starts as a windows service and then starts bartend.exe via ActiveX call.
Each application starts only one copy of the bartend.exe. If we start up to four services (4 bartend.exe) then everything works as expected. But if we start more than 4 bartend.exe then all of them become CPU hungry (100%) and then crash with the following error:
Faulting application name: BarTend.exe, version: 9.40.2760.2652, time stamp: 0x4d7980a1
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x00000000
Faulting process id: 0x1138
Faulting application start time: 0x01cd1642307e0d69
Faulting application path: C:\PROGRA~2\Seagull\BARTEN~1\BarTend.exe
Faulting module path: unknown
Running the same application as a normal program (not a service) does not produce this problem event with 10 bartend.exe up and running.
OS: Windows Server 2008 R2 Enterprise 64-bit.
Do you have any ideas how to fix this problem?