A common pattern for C callbacks is to accept a function pointer and a void*, and then the callback function receives that pointer in addition to the parameters specific to the callback. // Hypothetical callback typedef int (*callback_t)( void* context, int arg1, char const* arg2, double arg3); void Regi
A customer wanted to use the Windows thread pool, but they also wanted to use COM from their work item. They saw in the COM documentation that each thread must call CoInitialize(Ex) before using COM, so they planned on doing something like this: thread_local bool isComInitialized = false; auto DoWork
The Visual Studio 17.14 GA release and recent C# Dev Kit releases for VS Code have introduced a whole new batch of GitHub Copilot features des
Learn what is new in the Visual Studio Code May 2025 Release (1.101) Read the full article
Windows provides a family of functions for performing atomic operations. They have the word Interlocked in their name. But why do these functions even exist when we have std::atomic? This is similar to asking
Introduction Quarkus is a
If you’ve been following along with the AI Genius Series, you already know we’ve been on a journey, one filled with learning, experimentation, and discovery. We’ve explored the power of Retrieval Augmented Generation (RAG), dived into Copilot deployment, and unlocked the potential of Azure’s AI ecosystem. But now, it’s time to take a
In today's fast-paced digital world, keeping the Visual Studio Marketplace secure and trustworthy is extremely important. We know how crucial it is to protect your extensions, so we're always working on new ways to keep things safe. We'd like to share an update on the existing safeguards and upcoming investments that ensure VS Marketplace r