This is a repost, now that ChatGPT is working again...
Hi. I need some clarification and/or help with a multi-threaded application being debugged with Visual Studio.
I notice that when I hit a breakpoint in a thread, it stops, and I can examine the status and values, but when I step to the...
Hi. I need some clarification and/or help with a multi-threaded application being debugged with Visual Studio.
I notice that when I hit a breakpoint in a thread, it stops, and I can examine the status and values, but when I step to the next instruction, the debugger goes back to the original...
I have solved the problem! When the AI Bot told me that I was stalling the message loop, I looked deeper. In the original code I was calling PeekMessage() with PM_REMOVE, filtering for WM_KEYDOWN, and then checking for VK_ESCAPE. This consumed the WM_KEYDOWN message but not any other messages...
Hi. I am still unable to properly post code on your site. The indentation get ignored. I tried backticks (```), tildas (~~~) and backticks with c++ (```c++).
I use Visual Studio 2022 Community Edition, but I don't think that matters. When I post, I use Chrome, and I manually type the backticks...
Hi. I'm a retired computer/electronics engineer with 45 years of experience supporting Windows, Unix, Oracle, and networks of hand-held computers. I write straight C/C++, mostly using the WinAPI, but also MFC. I dabble with Visual Studio writing Windows programs, and I would like to share them...
c programming
c++
community
electronics
experience
hand-held computers
mfc
network
programming
programs
q&a
sharing ideas
software development
support
user query
visualstudio
winapi
Microsoft Edge WebView2 is a UI control that allows developers to embed web content into their Win32 C++, .NET, and WinUI applications. It powers many applications today such as Microsoft Office, Microsoft Power BI, and Visual Studio. Earlier this summer, we announced that we were beginning to...
application
consumer rollout
deployment
developer tools
device management
disk space
end users
group policy
installation
it administration
microsoft edge
microsoft office
performance
power bi
runtime
software development
visualstudio
webview2
windows 10
Hello Team,
I am using API in my desktop windows application and while clicking on Send button Getting this Error message "Object reference not set to an instance of an object." previously this below code was working fine.
private void btn_Send_Click(object sender1, EventArgs e1)
{...
Adding event handlers: Sounds, Dark Mode & Windowing (Part 2)
Note that in part 1 of the WinAppSDK Blog Series you implemented the visual layer of the DrumPad using WinUI 3 controls. However, if you click on any buttons, nothing happens, because we have not defined any actions, which we will do...
Hi when I click a folder visual studio starts - instead of exploring that folder. So I can not explore folders on my computer.
The same happens when I click "documments" or "pictures" in windows start - visual studio starts instead of windows explorer.
How to fix it?
How do I add an .EXE project to a solution of DLL's?
This is using Microsoft Visual Studio Professional
I have been handed a solution file which contains three projects. But all three projects generate DLL files. It is kind of unique because I have uncovered that they contain XAML files. So...
I cannot open a handle to any of my storage devices.
HANDLE h = CreateFile(L"\\\\.\\PhysicalDisk0", GENERIC_READ | GENERIC_WRITE, FILE_READ_ACCESS | FILE_WRITE_ACCESS,
0, OPEN_EXISTING, 0, 0);
I also tried copying the full path from WinObj: \GLOBAL??\PhysicalDrive0 and...
access
c++
code snippet
createfile
data access
diagnostics
disk
error
file access
file management
handle
kernel-mode
programming help
storage devices
visualstudio
windows api
Today, we’re announcing ARM64EC (“Emulation Compatible”), a new way to build apps for Windows 11 on ARM. With the latest Visual Studio tools in preview and the Windows 11 Insider SDK, you'll be able to take advantage of ARM64EC to incrementally transition your app to running with native speed on...
Daniel Paulino created his first Windows app when he was at a career crossroads: Was he good enough to have a successful career as a developer? He wasn’t sure, but Daniel also knew he needed a timer app that connected to his workout band. “At the time, no app did this. I had this curiosity. That...
ambie
app development
bioinformatics
career path
creativity
curiosity
dotnet
internship
learning growth
medical software
nightingale
pillbox
problem solving
real-world solutions
software development
technology
user empowerment
visualstudio
windows apps
winui
Uno Platform is a free and open-source platform aiming to take WinUI apps built with C# and XAML everywhere. If you are not familiar with WinUI, it is the native UX platform for building modern apps for Windows 10 - you can learn more about it on the Link Removed. With Uno Platform you can...
android
app development
cross-platform
dark mode
infobar
ios
light mode
linux
macos
nuget
numberbox
open source
tutorial
ui controls
uno platform
visualstudio
webassembly
winui
xaml
Uno Platform is a free and open-source platform aiming to take WinUI applications built with C# and XAML everywhere. If you are not familiar with WinUI, it is the native UX platform for building Windows applications - you can learn more about it on the Link Removed. With Uno Platform you can...
android
application
cross-platform
dark mode
development
infobar
light mode
linux
macos
nuget
numberbox
open source
templates
tutorial
uno platform
uwp
visualstudio
webassembly
winui
xaml
The C#/WinRT team is excited to announce our latest release, which includes a preview of C#/WinRT authoring with the latest C#/WinRT NuGet package, as well as updates to the .NET 5.0 SDK with the .NET February update. Since our last blog post on C#/WinRT v1.0, we have some new features to show...
api
authoring
components
cross-platform
development
diagnostics
features
february
framework
hosting
migration
nuget
programming
runtime
sdk
update
visualstudio
windows
winrt
Today, we're releasing the first preview of x64 emulation for ARM64 devices to Windows Insiders in the Dev Channel starting with the Build 21277. It can be installed on Windows 10 on ARM PCs by following the instructions as explained in this blog post. When we first launched Windows 10 on ARM in...
If you tuned in to this morning’s App Development Community Standup, you know that today we released WinUI 3 Preview 3. If you want to skip the summary and head straight to the release notes and installation instructions, you can find those here.
New Features
The team has been hard at work on...
Today is the official GA release for .NET 5, and along with it we are excited to share the latest updates with our recent release of C#/WinRT version 1.0. C#/WinRT provides WinRT projection support for .NET 5 based apps. The Windows SDK leverages this technology and is now integrated with the...
I am running .netcore 3.1 console app written in c# that handles quite significant amount of data.
At some point, subject of this thread starts being logged. I am running it on virtual machine, x64 4 cores. Application is multithreaded.
Can you explain the error and give me some hint what to do...