시큐우
시큐우
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
and the attachEvent0 is same as attachEvent but just different name
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
i could find the process name only for some previous runtime errors that i already solved
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
i've seen all the logs in the same timestamp when i runned the program, but doesnt seem to be there
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
var mutex = new Mutex(false, "TestShareMutex", out bool createdNew);
var commEvent0 = new EventWaitHandle(false, EventResetMode.ManualReset, "TestEvent0");
var attachEvent = new EventWaitHandle(false, EventResetMode.ManualReset, "TestAttachEvent");
if (!createdNew)
{
mutex.WaitOne();
}
int waitTime = 9000000;

if (mutex.WaitOne(waitTime))
{
attachEvent.Set();
mutex.ReleaseMutex();
bool b = mutex.WaitOne(waitTime);
bool a = attachEvent0.WaitOne(waitTime);
System.Diagnostics.Debug.WriteLine(a.ToString());
Thread.Sleep(800);
if (a && b)
{
mutex.ReleaseMutex();
}
}
var mutex = new Mutex(false, "TestShareMutex", out bool createdNew);
var commEvent0 = new EventWaitHandle(false, EventResetMode.ManualReset, "TestEvent0");
var attachEvent = new EventWaitHandle(false, EventResetMode.ManualReset, "TestAttachEvent");
if (!createdNew)
{
mutex.WaitOne();
}
int waitTime = 9000000;

if (mutex.WaitOne(waitTime))
{
attachEvent.Set();
mutex.ReleaseMutex();
bool b = mutex.WaitOne(waitTime);
bool a = attachEvent0.WaitOne(waitTime);
System.Diagnostics.Debug.WriteLine(a.ToString());
Thread.Sleep(800);
if (a && b)
{
mutex.ReleaseMutex();
}
}
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
i think there's nothing releated to this error,,?
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
ok i see :bap:
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
22 replies
CC#
Created by 시큐우 on 9/9/2024 in #help
WaitOne for EventWaitHandle makes program crash without error?
i tried already but nothing was catched
22 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
thx for ur help!! :xd:
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
i see
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
i googled error 0x80070005 and saw a lot of posts(that error was mostly from wireless device connections), and there was no mention about package manifest,,
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
btw, is it natural common sense to modify package manifest?
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
omg it works!!! thx for the solution
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
you mean the Package.appxmanifest file?
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
nop i'll try it rn
18 replies
CC#
Created by 시큐우 on 4/13/2024 in #help
✅ WiFiDirectDevice.FromIdAsync throws 0x80070005(E_ACCESSDENIED)
sure
18 replies