Category : .net-core

I have a background with Linux for running services, first time working on Microsoft environment. Code could be improved in many areas I’m sure, first step is getting a running service. I’ve referenced many posts and documentation, but I’m not yet able to fully understand how Microsoft services and dotnet interact as compared to a ..

Read more

I am on Windows 10. I have both .net core 2.1 and 5.0 installed on my machine. I can see them in path C:Program Filesdotnetsdk. Also both of them are present in the result of the following command: dotnet –info When running dotnet –version on the prompt I see version 5.0.401. I have some backward ..

Read more

I want to detect when the user has copied from a window. To intercept the WM_CLIPBOARDUPDATE message, I have to first register the window to receive the message via the AddClipboardFormatListener. The docs say: When a window has been added to the clipboard format listener list, it is posted a WM_CLIPBOARDUPDATE message whenever the contents ..

Read more

I have UWP application that use c++ code. unsafe private void ProcessFrameOutput() { AudioFrame frame = _frameOutputNode?.GetFrame(); if (frame != null) { using (AudioBuffer buffer = frame.LockBuffer(AudioBufferAccessMode.Write)) { using (IMemoryBufferReference reference = buffer.CreateReference()) { byte* dataInBytes; uint capacityInBytes; float* dataInFloat; // Get the buffer from the AudioFrame ((IMemoryBufferByteAccess)reference).GetBuffer(out dataInBytes, out capacityInBytes); dataInFloat = (float*)dataInBytes; var ..

Read more