• Forum
  • Windows Programming

Windows Programming

by admin
Welcome to this board!
Welcome to the Windows forum in C++.com! In this forum, users can to talk about any topic related to programming in C++ for the Windows platform. Feel free to...
Jan 14, 2008 at 1:12pm
[no replies]
Converting Hex into dec using numeric up down control
Hi, I am trying to write a number to a file in both hex and in decimal. For example Hex 63 and dec 99. In a hex editor the values should be 63 and 99. The g...
Aug 10, 2025 at 8:06pm
[4 replies] Last: BCD is just a lookup table. you look up each digit of the number in b... (by jonnin)
Sorting a listbox
Hi, I want to sort a list box values. Using the sort property. It sort of works but has some bugs. for example this is how it is displayed. Not in order....
Aug 10, 2025 at 3:35am
[2 replies] Last: I did a work around... I would really like to figure this out on my o... (by Cyclone)
by Ganado
Can't link kissfft library
Hi all, I am on Windows and have built kissfft from https://github.com/mborgerding/kissfft but when I try to build an actual program with it, I cannot get past...
Aug 4, 2025 at 2:50am
[2 replies] Last: I think it might be a link order problem. Try re-ordering the command... (by mbozzi)
NumericUpDown control not displaying a 2byte value
Hi, I am trying to read and load a value from a NUmericUpDown control. For some reason it only works up to a value of 0xFF. I need it to load a 2 byte value...
Jul 14, 2025 at 9:48pm
[6 replies] Last: glad to help! (by Ganado)
Building C++/CLI Project with CMake
Nevermind, I'm going to use MSBuild.
Jul 7, 2025 at 10:53pm
[no replies]
destructors are not called in the right order (1,2)
Hi! I've a bug with mingw, I've downloaded the msvcrt runtime mingw-w64 12.0 on this website (the lasted doesn't work for me, DllMain entry point missing...) : ...
May 11, 2025 at 8:01am
[20 replies] Last: In other words, each component ended up storing its own copy of the de... (by Peter87)
compile error when building shared libs
I I'm trying to compile my lib on shared but I get this error message that I don't understand : [ 37%] Linking CXX shared library ..\..\..\lib\libodfaeg-gra...
May 10, 2025 at 8:43pm
[2 replies] Last: C and C++ use different name mangling. (by kigar64551)
mingw gdiplus rendering scales wrong
I'm trying to convert GDI32 program to GDI+ ... I'm using MinGW toolchain (TDM V10.3.0) on Windows 10. I am trying to implement an ImageList capability in ...
May 2, 2025 at 12:42am
[1 reply] : Okay, I finally figured out how to disable "automatic scaling", once I... (by Gorlash)
Formatted Console Log with Datetime
I'm working on a C++11 project that uses console logging (cout) at the moment. I created the following Log method to perform printf-style formatting: // U...
Apr 8, 2025 at 1:38am
[8 replies] Last: Just started reading bits an pieces of "C++ Coding standards" by Sutte... (by ElusiveTau)
MSVC Solution and C1011 Error
MSVS Community Edition, v17.12.5 (latest), Win10 (latest), 64-bit I've raised an issue with MS, but after their acknowledging that they've replicated the probl...
Mar 28, 2025 at 4:47am
[3 replies] Last: did you try using #include instead? I know you may not want to, but m... (by jonnin)
Opening Multiple Console Windows One For Each Thread
I'm playing around with threads and rather than designing a class to manage output to a single console i.e., a single stdout, I figured to use this approach t...
Feb 6, 2025 at 10:22pm
[7 replies] Last: Not sure if it was only my system but MSVC compiler emitted compiler ... (by kigar64551)
How to create bare-minimum Windows Application with Console Access?
I'm following this video tutorial and would like to run the code snippet at 1:07. #define WIN32_LEAN_AND_MEAN #include <iostream> #include <string> #...
Nov 9, 2024 at 12:16am
[7 replies] Last: You can call AllocConsole() to get a console in a Windows (GUI) appl... (by kigar64551)
My Shockwave Flash Projector
Thought I would release my flash projector and compiler :D now open source version released on GitHub, along with a release build Build: Visual Studio 2005 Wi...
Oct 15, 2024 at 7:17pm
[no replies]
WinForms Resources, Moved Files
I'm working on a WinForms CLR project and I'm using VS 2022. All was well until I created new folders and moved files - everything was in the base project folde...
Oct 7, 2024 at 3:14pm
[8 replies] Last: If you use source control Not everyone uses that, I know for most of... (by deleted account xyzzy)
printing C++ source file in VS2022 throws garbage
Hi, I have a C++ source file that when printing from VS2022 prints what seems garbage (actually it seems to be using a strange font which is impossible to u...
Sep 27, 2024 at 1:03am
[4 replies] Last: any chance one or all of your code snippet settings use the "Cascadia"... (by jonnin)
Procedure Entry Point Not Found
Hello, I am currently using OpenCV-4.5.5-x64 with MinGW and encountering issues when trying to execute the compiled binary. The PATH environment variable is co...
Sep 8, 2024 at 4:18pm
[1 reply] : UPDATE: Ive tried an older Build and OpenCV-MinGW-Build-OpenCV-4.1.1-x... (by LukeProducts)
image compression ffmpeg
Hey folks, I’m trying to use FFmpeg in C++ to compress image buffers, but I keep running into a fundamental issue. I’m seeing this error: [libx264 @ ...
Sep 6, 2024 at 3:10am
[1 reply] : Read the manual page and understand how the functions are supposed to ... (by salem c)
How to properly link ffmpeg library to clion?
Hey everyone :), I've been trying to use FFmpeg for video compression and other tasks, but I've been stuck for a while. Up until now, I've mostly avoided linki...
Sep 4, 2024 at 11:58am
[2 replies] Last: Thank you so much. I realized i mixed up .dll with .lib in the executi... (by LukeProducts)
Compiles with Visual Studio, but not g++
#include <sstream> #include <vector> #include <filesystem> #include <fstream> #include <shlobj.h> #include <locale> #include <codecvt> #include <windo...
Aug 24, 2024 at 4:38pm
[5 replies] Last: The import libraries for the WinAPI are different for each compiler, a... (by deleted account xyzzy)
  Archived months: [jun2025]

Registered users can post in this forum.