Click here to Skip to main content
15,918,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using InvalidateRect to force screen update Pin
Robert A. T. Káldy23-Feb-04 11:24
Robert A. T. Káldy23-Feb-04 11:24 
GeneralRe: Using InvalidateRect to force screen update Pin
mortishroom23-Feb-04 13:46
mortishroom23-Feb-04 13:46 
GeneralRe: Using InvalidateRect to force screen update Pin
Terry O'Nolley23-Feb-04 12:40
Terry O'Nolley23-Feb-04 12:40 
GeneralRe: Using InvalidateRect to force screen update Pin
mortishroom24-Feb-04 13:34
mortishroom24-Feb-04 13:34 
GeneralImage For a SliderControl Pin
Anonymous23-Feb-04 0:22
Anonymous23-Feb-04 0:22 
GeneralRe: Image For a SliderControl Pin
Selvam R23-Feb-04 0:33
professionalSelvam R23-Feb-04 0:33 
GeneralRe: Image For a SliderControl Pin
Prakash Nadar23-Feb-04 0:37
Prakash Nadar23-Feb-04 0:37 
GeneralServices Advanced Pin
JensB23-Feb-04 0:08
JensB23-Feb-04 0:08 
Hi
I'm using SRVANY for using an existing program as Windows service.

I have too problems with it.

--- First problem:---
I get this error in my windows event viewer 'application'.

I only get this error when the service runs, the user logs off and the user logs in the second time. Then something really weird happens (don't know why). I can't navigate using the application's menu. It's like the application has frozen, but this isn't the case neither. I have some sort of scheduler which checks every minute what to do inside the program, and the scheduler runs and quits perfectly. So the program doesn't "freeze".
I only get this when the application runs as service on my Windows 2000 computer. I installed it at another PC too and there it works great (same OS). WinXP does the job well too.

Error:
The COM+ Event System detected a corrupt IEventSubscription object. The COM+ Event System has removed object ID {FAF488EC-AE99-48A8-8550-07AD2EBDDFAE}. The subscriber will no longer be notified when the event occurs.

<just edited="">
Before that error, i get this error too:
The COM+ Event System failed to fire the Logoff method on subscription {99582471-B2F3-4F46-A30B-4E22AF2E24A4}. The subscriber returned HRESULT 800706BA.

There is something that happens on logoff that isn't correct.


--- Second problem ---
I have read some articles about services which use either the local system account (which has access to local resources and can be interactive) and you can alsoo use it with a domain user which would have access to the netwerk, the ennoying part of the second choice is that the application can not be interactive anymore. The problem is that the application has to be interactive and has to have access to shares.
Is the changing of 'Registry: Lanmanserver parameters' the only workaround this? Is it possible to connect to a share with other users' credentials? (given you know his domain user account and his password) so the program uses the credential's of the user instead of the localsystem account.

Anyone can help me with this?

Greetings,
Jens
GeneralCrash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 0:01
Gero Gerber23-Feb-04 0:01 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 0:06
Prakash Nadar23-Feb-04 0:06 
GeneralRe: Crash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 0:09
Gero Gerber23-Feb-04 0:09 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 0:39
Prakash Nadar23-Feb-04 0:39 
GeneralRe: Crash without assert- and access-violation-message Pin
Gero Gerber23-Feb-04 1:28
Gero Gerber23-Feb-04 1:28 
GeneralRe: Crash without assert- and access-violation-message Pin
Prakash Nadar23-Feb-04 1:42
Prakash Nadar23-Feb-04 1:42 
General_beginthread PROBLEM Pin
Caoimh22-Feb-04 23:54
Caoimh22-Feb-04 23:54 
GeneralRe: _beginthread PROBLEM Pin
Balkrishna Talele23-Feb-04 0:03
Balkrishna Talele23-Feb-04 0:03 
GeneralRe: _beginthread PROBLEM Pin
Prakash Nadar23-Feb-04 0:03
Prakash Nadar23-Feb-04 0:03 
GeneralHEADER FILE PROBLEM Pin
Caoimh22-Feb-04 23:14
Caoimh22-Feb-04 23:14 
GeneralRe: HEADER FILE PROBLEM Pin
_Magnus_22-Feb-04 23:17
_Magnus_22-Feb-04 23:17 
GeneralRe: HEADER FILE PROBLEM Pin
Balkrishna Talele22-Feb-04 23:52
Balkrishna Talele22-Feb-04 23:52 
GeneralRe: HEADER FILE PROBLEM Pin
Prakash Nadar23-Feb-04 0:11
Prakash Nadar23-Feb-04 0:11 
GeneralRe: HEADER FILE PROBLEM Pin
Caoimh23-Feb-04 1:42
Caoimh23-Feb-04 1:42 
GeneralRandom numbers Pin
amit sebiz22-Feb-04 23:14
amit sebiz22-Feb-04 23:14 
GeneralRe: Random numbers Pin
Elmar Weber22-Feb-04 23:33
Elmar Weber22-Feb-04 23:33 
GeneralRe: Random numbers Pin
Prakash Nadar23-Feb-04 0:12
Prakash Nadar23-Feb-04 0:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.