Search results for query: *

  • Users: Hitoruna
  • Content: Threads
  • Order by date
  1. H

    simulate system events (such as shutdown, log off, etc)

    If I have build an application using visual studio that do something when some system event happens, how can I simulate such system events so that I can debug the application?
  2. H

    How can I put some processing that will execute when the OS is shutdown

    First my question: How can I put some code that will be executed when the OS is shutdown? ---- Then what I have done: I read about SessionEnding, if I add an event handler to SystemEvents.SessionEnding I can do that. I found this in...
  3. H

    The Designer could not be shown (error CS0234 I think)

    Today I received a C# solution. It includes multiple projects and multiple files. (Several screens- forms I guess) I don't even want to build or run at this point. I just want to see the screens. When clicking on a cs file (that i believe -but I am not sure- it is generated by the designer), I...
  4. H

    Task.Delay is not working as it should

    I am having a problem with some code which uses Task.Delay. I am probably using it bad because when I try it to wait 2 ms (1000 times) it waits completely different times My code is using System.Collections; using System.Collections.Generic; using UnityEngine; using System; #if...
  5. H

    Threading

    I am reading a lot about threading and asynchronous processing in C#, and I am getting dizzy already. Apparently there many ways to do this and I don't know what is the difference. So far I get (there are more apparently) The old Thread class The asynchronous invocation with BeginInvoke and...
  6. H

    What is "?."

    I am reading some C# code now and I find something like _mediaCapture?.Dispose(); You could imagine that is near impossible to google something like "?." so I would like to ask, what does this means and where can I learn more Thanks
  7. H

    Question COM Pointers

    I have used google to try and find a definition of what a "COM Pointer" is and I could not find it. Can someone point me where to look to find this information. I am trying to understand https://docs.unity3d.com/ScriptReference/VR.WSA.WebCam.PhotoCaptureFrame.GetUnsafePointerToBuffer.html...
  8. H

    understanding Interfaces

    Hello. This is my first post here. I am a programmer with C and C++ experience, and lately I have been heavily programming in C#. I suppose it is quite common I don't use all features at once so, for the first time I am dealing with Interfaces. I would very much appreciate if someone can help me...
Back
Top Bottom