Where can I find a stable release. The current one is bunk.
I have just had an issue with a computer virus that just passed through my scan. I do work for free that I would already be paid $50 to do and I had to a bunch of work just to try to use a game that I made before that is not understood in release mode.…
How to completly remove a virtual disk created?
I'm experiencing the same problem seen on this question, i have a lot of vhdx disk listed that seens that are not being properly "removed", even after detaching and deleting them. There's no answer on the mentioned question as the OP…
MediaFoundation: TimeStamp of first frame is not getting correctly set to 0. Instead, it is getting set as 0.0333 (frame duration)
I'm trying to read two frames, each individually stored in binary files named frame1.bin and frame2.bin, and create an MP4 video file called sample.mp4. Here's what I'm doing: I read a frame, associate it with its respective timestamp, and write it to…
How to avoid minimize on show desktop or peek desktop from an application.
Hi, I am trying to create a desktop widget like application which need to be visible on desktop at all times. To hide it from taskbar and alt + tab menu I am using WS_EX_TOOLWINDOW window style. The problem is the application is minimized when using Peek…
How do I filter GPUs by type in DXGI (integrated vs dedicated device)?
Hello! I have written an extension for the Elgato Stream Deck using C++ and Microsoft DXGI (available here) that queries the utilization of the user's GPU and displays it on the Stream Deck. I need to be able to filter out integrated GPUs and only…
Basic <thread> library functions not working!
I was trying to create a code with threads, but it won't let me do that kind of thing. The this_thread and thread global is non-accessible for creating new threads and ::sleep_for functions. I am pretty new to vs code so please help me. This is also not…
How do I use Header Units with the Windows Desktop Application default template and resolve conflicts with headers?
I am trying to use Header Units in a Desktop Application, but am getting problems with headers, and the .ifc file. Problems with gdi, and DirectX header includes : C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\um\GdiplusEnums.h(27,13):…
How to assign a letter to a vhdx disk without getting it listed?
One way I know to assign a letter to a vhdx disk is using the winapi AddAcessPath but to it work, first i need to attach the disk. Even attaching the disk with the flag ATTACH_VIRTUAL_DISK_FLAG_NO_DRIVE_LETTER, when it receives a letter it shows a shell…
How can I create a Gaussian blur with a printer render target using Direct2D?
I am using Direct2D to generate diagrams. I want to create a glow-effect around diagram boxes, using Gaussian blur. In order to do this, I paint a rectangle to an off-screen render target, blur it, and then get the off-screen render target's bitmap and…
Issue while Writing\Updating .ini files using RegSetValueEx\WritePrivateProfileString
I’m encountering an issue while updating an INI file. Initially, I attempted to write the value to the registry and then update the INI file using the RegSetValueEx() WinAPI. Although the function executes without returning any errors, the value is not…
cin sometimes compiling and never working.
I'm trying to figure out how to use vs code, but stupid thing is mad at me. When I put in this code: #include <iostream> using namespace std; int main() { cout << "Hello world!"; int x; cin >> x; cout…
Information not available, no symbols loaded for AppxPackaging.dll
Hi guys, I want to validate AppxBlockMap.xml through AppxSignature.p7x. I used IAppxFactory::CreateValidatedBlockMapReader method (appxpackaging.h) to validate the blockmap. When I debuged my code, the result seems good. But I noticed there are…
What is the reason for a behavior change observed in a C program in VS2019 (compared to VS2017)?
Given is the following well defined C90/C99 program test.c (please assume C, not C++!) : #include <stdio.h> void* p1; void* p2; int i[2][2]={{1,2},{3,4}}; int main(void) { p1 = (void*)&i[0]; p2 = (void*)&*(int(*)[2])p1; …
can anyone help with downloading microsoft visual c++ 2022 x86 minimum runtime 14.38.33130???
[4CAC:6540][2024-12-14T01:46:53]i001: Burn v3.14.1.8722, Windows v10.0 (Build 22631: Service Pack 0), path: C:\Users\ricar\AppData\Local\Temp{494CE8F4-7595-494D-BF0D-28EB85731EF4}.cr\VC_redist.x86 (4).exe [4CAC:6540][2024-12-14T01:46:53]i009: Command…
Dialog box before launching of application in winui3 c++/winrt
I am working in winui3 c++/winrt and I need to show a dialog box just before the launch of my application The dialog box will say OK and Cancel on click of OK we launch the application and on cancel we exit. I tried a few approaches but it is giving…
PROJECT WONT RETARGET SDK VERSION AND CANT DETECT SDK
I HAVE TRIED EVERYTHING TO FIX THIS ISSUE, I AM UNABLE TO BUILD C++ PROJECTS EVERYTIME I GET THE SAME ERROR : "The Windows SDK version 10.0.20348.0 was not found. Install the required version of Windows SDK or change the SDK version in the project…
user32.dll!UserCallWinProcCheckWow()
My MFC embed WPF, and sometimes I want to show a WPF dialog, it will crash. I find below difference, and want to know when execute the two functions. there is not parameter in the crashed call stack: user32.dll!UserCallWinProcCheckWow() there are…
How to create, attach, format, mount and assign a letter to a VHD/VHDX?
I'm trying to programmatically create a VHD/VHDX and perform the same "steps" seen on this vbscript. Using C++, WINAPI without relying on diskpart: diskpartScriptPath = fso.GetSpecialFolder(2) & "\diskpart.txt" Set…
Question about Using SetFileCompletionNotificationModes with IOCP in Non-blocking Winsock Operations
Hello everyone, I'm currently working on a project where I am using WinSock to create both UDP and TCP sockets. The sockets are set in non-blocking mode using ioctl, and I am using overlapped operations with an I/O Completion Port (IOCP) to handle…
How to call dism /apply-image using the dism api?
I have installed the Windows ADK and i'm trying to programmatically reproduce the same call from this command: dism /apply-image /imagefile:E:\sources\install.esd /index:6 /applydir:F:\ Looking at the DISM API Functions and also directly on the…