Click here to Skip to main content
15,921,463 members
Home / Discussions / System Admin
   

System Admin

 
GeneralRe: Error in streaming media Pin
Mekong River7-Mar-06 12:33
Mekong River7-Mar-06 12:33 
GeneralW2K3 Remote Desktop Web Connection Pin
nvethis7-Oct-04 7:36
nvethis7-Oct-04 7:36 
GeneralRe: W2K3 Remote Desktop Web Connection Pin
Mekong River7-Mar-06 12:19
Mekong River7-Mar-06 12:19 
GeneralIIS Exception Monitor Pin
Gavin Jeffrey7-Oct-04 5:25
Gavin Jeffrey7-Oct-04 5:25 
GeneralRe: IIS Exception Monitor Pin
Mekong River8-Oct-04 4:09
Mekong River8-Oct-04 4:09 
GeneralError Reporting in Batch File Pin
Its due when6-Oct-04 15:15
Its due when6-Oct-04 15:15 
GeneralRe: Error Reporting in Batch File Pin
Mekong River7-Oct-04 3:38
Mekong River7-Oct-04 3:38 
GeneralWhy would OpenEvent() API call on Windows2000 fail with GetLastError returning error = 2 => ERROR_FILE_NOT_FOUND Pin
SimCard6-Oct-04 4:23
SimCard6-Oct-04 4:23 
Hi there !
I would request for your esteemed opinion, in case you feel this could be of help in my context.

I have a peculiar problem. It goes as follows -

I have got a multithreaded windows ( windows 2000 ) app running.

I am using a CreateEvent() to create an event object. It goes like this -

CreateEvent(NULL, // no security attributes
TRUE, // manual reset event
FALSE, // not-signalled
"RASNOTIF_EV");

Subsequently using OpenEvent(), in the following manner -

RasEvnt = OpenEvent (SYNCHRONIZE | EVENT_MODIFY_STATE, FALSE, (LPCTSTR)"RASNOTIF_EV");

Now, on rare occassions the above OpenEvent call fails and the GetLastError retirns a value of 2; => ERROR_FILE_NOT_FOUND

I came across the following info in this context -
"The last parameter indicates the name of a kernel object. You cannot pass NULL for this parameter;
you must pass the address of a zero-terminated string.
The functions search the single name space of kernel objects attempting to find a match.
If no kernel object with the specified name exists, the functions return NULL and GetLastError returns 2 (ERROR_FILE_NOT_FOUND). "

In the context of the Windows 2000 API call OpenEvent, I seek to understand as to what might be causing this ? And, if this is because of an error at Kernel level because of whatever reasons - is it possible that the system reboots owing to this ?

Please share your esteemed thoughts on this critcial issue I am facing.

Thanks !

Please respond to -
s6_shah@yahoo.com
GeneralRe: Why would OpenEvent() API call on Windows2000 fail with GetLastError returning error = 2 => ERROR_FILE_NOT_FOUND Pin
Mike Dimmick8-Oct-04 14:01
Mike Dimmick8-Oct-04 14:01 
GeneralQuery AD for locked Accounts Pin
Anonymous5-Oct-04 23:43
Anonymous5-Oct-04 23:43 
GeneralRe: Query AD for locked Accounts Pin
Mekong River6-Oct-04 0:02
Mekong River6-Oct-04 0:02 
GeneralSimple Question On Drives Pin
sweep1235-Oct-04 23:39
sweep1235-Oct-04 23:39 
GeneralRe: Simple Question On Drives Pin
Mekong River5-Oct-04 23:57
Mekong River5-Oct-04 23:57 
GeneralRe: Simple Question On Drives Pin
sweep1236-Oct-04 1:58
sweep1236-Oct-04 1:58 
GeneralRe: Simple Question On Drives Pin
Mekong River6-Oct-04 4:31
Mekong River6-Oct-04 4:31 
GeneralRe: Simple Question On Drives Pin
Nathan Holt at EMOM6-Oct-04 5:48
Nathan Holt at EMOM6-Oct-04 5:48 
GeneralUninstalling Windows Services without original installer binary Pin
devvvy5-Oct-04 15:51
devvvy5-Oct-04 15:51 
GeneralRe: Uninstalling Windows Services without original installer binary Pin
Vasudevan Deepak Kumar8-Oct-04 4:28
Vasudevan Deepak Kumar8-Oct-04 4:28 
GeneralRe: Uninstalling Windows Services without original installer binary Pin
devvvy8-Oct-04 13:39
devvvy8-Oct-04 13:39 
GeneralITS URGENT ! Pin
zeemalik4-Oct-04 19:53
zeemalik4-Oct-04 19:53 
GeneralRe: ITS URGENT ! Pin
Roger Wright4-Oct-04 21:23
professionalRoger Wright4-Oct-04 21:23 
GeneralRe: ITS URGENT ! Pin
Mekong River4-Oct-04 23:56
Mekong River4-Oct-04 23:56 
GeneralRe: ITS URGENT ! Pin
Roger Wright5-Oct-04 3:57
professionalRoger Wright5-Oct-04 3:57 
GeneralRe: ITS URGENT ! Pin
benjymous5-Oct-04 5:01
benjymous5-Oct-04 5:01 
GeneralRunning Multiple Batch files Pin
Its due when4-Oct-04 19:47
Its due when4-Oct-04 19:47 

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.