WaitOne for EventWaitHandle makes program crash without error?
im using mutex and some events to sending some data to other program, but my program crashes completely after
bool a = attachEvent0.WaitOne(waitTime);
without any errors.
it doesn't run the codes after :/
btw when the attachEvent0
is already signaled(turned on?), it works well without crashing,,,14 Replies
can you catch that exception with a try/catch?
i tried already but nothing was catched
then i guess you sould look in event viewer to have details on the error
Use the generic Events Viewer to diagnose your app - Visual Studio ...
Learn about the generic events viewer, which helps you better diagnose how your app is doing within the Visual Studio profiler.
i mean eventvwr.msc, or "Event Viewer" if you search it in the system applications
(which yes is related to that)
ok i see :bap:
if it's really an uncatchable exception the source then is outside the framework, and so it could potentially be a pretty difficult error to decipher
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
btw i don't if it's strecthed but it's a weird font
there's some pretty weird kerning too
i think there's nothing releated to this error,,?
Unknown User•3mo ago
Message Not Public
Sign In & Join Server To View
i've seen all the logs in the same timestamp when i runned the program, but doesnt seem to be there
is there any log with this process name?
anyway there is no attachEvent0 declaration there
i could find the process name only for some previous runtime errors that i already solved
and the attachEvent0 is same as attachEvent but just different name