About this tag
The c++ tag on WindowsForum.com covers discussions about C and C++ programming, particularly in the context of Windows development using the WinAPI and Visual Studio. Topics include multi-threading debugging challenges, modeless dialog box issues, and message handling with PeekMessage(). Recent threads also address Microsoft's restriction of its C/C++ extension for VS Code to first-party products, impacting developers using forks like VS Codium or Cursor. Additionally, the tag features posts about agentic coding tools such as Grok Code Fast 1, a speed-focused model for tool-driven development. The community includes experienced engineers sharing code, troubleshooting WinAPI and MFC projects, and seeking advice on Windows-specific programming problems.
-
Grok Code Fast 1: Speedy, Tool-Driven Agentic Coding for Dev Teams
Elon Musk’s xAI has stepped into the agentic coding ring with Grok Code Fast 1, a new model the company is pitching as a speed-focused, budget-friendly assistant for real-world developer workflows — one optimized to call tools, edit files, and iterate inside IDEs with minimal lag. The...- WindowsForum AI
- Thread
- agentic coding ai coding benchmarks swe-bench-verified c++ cache ci/cd code review developer tools golang grok code fast 1 ide integration java latency pricing privacy python rust secrets management security typescript
- Replies: 0
- Forum: Windows News
-
Microsoft Restricts C/C++ Extension to its Ecosystem: Impact on Developers and Open Source
Microsoft’s recent move to restrict its C/C++ extension for Visual Studio Code (VS Code) exclusively to its first-party products has stirred significant concern and debate throughout the developer community. As of version 1.24.5 released on April 3, 2025, the extension now refuses to work on...- WindowsForum AI
- Thread
- agent mode ai assistant ai coding ai development ai in windows ai tools anti-competitive practices antitrust binaries c++ c/c++ extension clangd code editor coding environment community workaround copilot cross-platform cursor debugging developer autonomy developer community developer controversy developer ecosystem developer rights developer tools developer workflow ecosystem ecosystem fragmentation extension ecosystem extension licensing extension lockdown extension marketplace extension restrictions extension security extension workaround foss foss alternatives ftc github copilot ide alternatives independent developers intellisense language server license restrictions licensing licensing crackdown market competition market restrictions microsoft microsoft ecosystem microsoft extensions microsoft licensing microsoft lock-in microsoft telemetry monopoly open source open source ecosystem open source movement open source tools open vsx open vsx registry openvsx marketplace platform control platform dominance platform ecosystem platform lock-in program control proprietary software regulatory scrutiny software competition software development software ecosystem software freedom software licensing enforcement software limitations software lock-in tech controversy tech industry tech industry trends tech regulation visual studio code vs codium
- Replies: 14
- Forum: Windows News
-
Windows 11 PeekMessage() not returning WM_KEYDOWN message
Hi. I'm having trouble with PeekMessage(). I use PeekMessage() in a loop inside my WM_PAINT procedure to consume messages generated during a long computation process, and to allow the user to abort the process by pressing ESCAPE. Here is a snippet of my code... ... Create several threads to do...- Alex Sokolek
- Thread
- c++ winapi
- Replies: 4
- Forum: Programming and Scripting
-
Multi-Threading, Visual Studio, and Breakpoints.
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...- Alex Sokolek
- Thread
- breakpoints c++ debugging multithreading programming software development thread management version visual studio
- Replies: 2
- Forum: Windows Software
-
Multi-threading, Visual Studio, and Breakpoints
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...- Alex Sokolek
- Thread
- app development breakpoints c++ debugger features debugging multithreading thread management version 17.9.6 visual studio visual studio 2022
- Replies: 6
- Forum: Windows Software
-
A strange problem with modeless dialog boxes - V2
I have solved the problem! See the original post, "A strange problem with modeless dialog boxes", for details. This is a repost, incorporating the latest simplifications of the problem statement, and a minimal reproducible example of the code... I'm having a problem with modeless dialog boxes...- Alex Sokolek
- Thread
- application c++ debugging dialog box document scanning event handling graphics gui linked list modeless multithreading performance sleep function software optimization system call timer user interface window procedure windows development
- Replies: 2
- Forum: Windows Software
-
New user query
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...- Alex Sokolek
- Thread
- c programming c++ community electronics experience hand-held computers mfc network programming programs q&a sharing ideas software development support user query visual studio winapi
- Replies: 4
- Forum: Windows Software
-
F
Windows 11 Drawing a border and background color with a handle to a window.
``` #include <Windows.h> #include <Richedit.h> HWND hwnd; HWND panel; HWND richEdit; WNDPROC oldStaticProc; int WINAPI WinMain(HINSTANCE, HINSTANCE, PSTR, int); LRESULT CALLBACK WindowProcedure(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); LRESULT CALLBACK StaticProc(HWND hwnd, UINT...- famatto
- Thread
- background border drawing c++ control handling device context error handling event gdi graphics opengl paint handling rich edit static control user interface window procedure window resizing windows api wm_paint
- Replies: 1
- Forum: Programming and Scripting
-
Android Need Help with Preorder Traversal in C++
Hello to everyone. I'm now working on understanding preorder traversal in binary trees using C++, and I've been using material from a blog article on the subject. I've been trying to implement the code provided on the page, but I'm encountering some issues, and I was hoping someone here could...- Rishab7
- Thread
- binary tree c++ coding compilation data structures error help preorder traversal programming treenode
- Replies: 1
- Forum: Programming and Scripting
-
Mac OS C++ | Implement your own timer library | Embedded System | Operating System
Design a software timer handler that triggers a specific function that gets executed when a timeout event occurs. Say there are 10 tasks that come in, each will have a timeout value and each will have a unique function to be called on timeout. You have one HW timer and need to handle this in...- AlishS
- Thread
- c++ libraries
- Replies: 1
- Forum: Programming and Scripting
-
E
Windows 11 Windows Audio Capture Client GetBuffer()
Can someone explain how to get data stored in a pointer and get an address that is stored in that pointer, then get the data from the address? I cannot figure out how to store the raw audio data into a file every time I run it the data accumulating in the file is low. The function in question is...- ExylonFiber
- Thread
- api audio audiobuffer c++ capture client code data processing debugging documentation getbuffer github iaudiocaptureclient programming rawdata reference storage streaming windows
- Replies: 1
- Forum: Programming and Scripting
-
E
Windows 10 Cannot Create Handle to Storage Device Using CreateFile Function
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...- ExylonFiber
- Thread
- access c++ code snippet createfile data access diagnostics disk error file access file management handle kernel-mode programming help storage devices visual studio windows api
- Replies: 5
- Forum: Programming and Scripting
-
How to Check C++ Version Using CMD
what is the cmd commande to check c++ version ?- adam2001
- Thread
- c++ check cmd command version
- Replies: 1
- Forum: Windows Software
-
Windows 7 How to Check C++ Version Using Command Prompt
what is the cmd commande to check c++ version ?- adam2001
- Thread
- c++ check cmd command programming version
- Replies: 1
- Forum: Windows Help and Support
-
E
Windows 10 Trying to Get Data Stored at Starting Address Designated by a Pointer Variable
Hello, I am developing a Winodws audio program that utilizes the built in Windows Core Audio API. I have an issue where the IAudioCaptureClient is sending a STARTING ADDRESS of an audio frame to pointer pData. I am trying to find out how to read the packet stored at that starting address by the...- ExylonFiber
- Thread
- api audio c++ windows 10
- Replies: 2
- Forum: Programming and Scripting
-
Vulnerability hunting with Semmle QL: DOM XSS
In two previous blog posts ( part 1 and part 2), we talked about using Semmle QL in C and C++ codebases to find vulnerabilities such as integer overflow, path traversal, and those leading to memory corruption. In this post, we will explore applying Semmle QL to web security by hunting for one of...- News
- Thread
- c++ code analysis dom xss integer overflow memory issues path traversal semmle ql vulnerability web security
- Replies: 0
- Forum: Security Alerts
-
P
Windows 10 Suggestions for learning C++
I have been reading alot about C++ programming. I even started watching videos and writing study guides for different books. I don't have any difficulty understanding written text, even in difficult format. I am just asking for suggestions of the best ways to learn C++ coding. I don't want...- Pat Malone
- Thread
- book c++ coding comprehensive education free resources learning paid resources programming resources study guides video
- Replies: 1
- Forum: Programming and Scripting
-
B
Windows 10 Alljoyn application using alljoyn studio
Hi All, Can anybody help me to create alljoyn application using c++ and alljoyn studio plugin of visual studio 2015. I just have seen documentation just to use the existing interface in C#. But I want to create my own c++ application using AllJoyn Studio. Can anybody help me in this? How to...- Boobalakrishnan
- Thread
- 2015 alljoyn application c++ coding community development documentation framework help interface iot plugins programming software studio tech support visual studio
- Replies: 3
- Forum: Windows Help and Support
-
R
Windows 7 Need Help Creating an Excel Macro to Delete Empty Rows Based on First Column
Hi, I am trying to extract information from one program, then import it into Excel. Well, the format it is extracted is not the format that is what I need. So, I have been manually deleting all the unneeded rows. My question is there a macro or C-Plus program that can delete these rows for me...- rc0213
- Thread
- automation c++ code customization data data processing efficiency excel excel functions excel tips import macro programming rows scripting spreadsheet tech support user help workflow
- Replies: 5
- Forum: Programming and Scripting
-
Windows 10 DX 10 Game playing as DX 9
Since Kemical's comments about the DX 12 situation, I have been doing some checking. I realized Borderlands 2 is playing as DX 9 and 32 bit, which is its normal configuration. But I downloaded Borderlands Pre-Sequel which is a DX 10 version and it is still playing in DX 9 (32 bit). I also...- Saltgrass
- Thread
- borderlands c++ compatibility directx dx10 dx11 dx9 game configuration game issues gaming lockup multi-core performance restart steam update windows 10 windows 8.1
- Replies: 14
- Forum: Windows Help and Support