c++ on VS19 - how can I display a table of number with cloumns aligned using cout
I want to display a scoreboard on the console with the columns lining up as shown in the example below. Team 1 (2) 5 30 45 62 Long name team (0) 10 28 49 165 The team names are…
DirectX12 Line Geometry Shader
I created a desktop application for win32 based off a skeleton from the book I have Introduction to 3D Game Programming with Directx12 by Frank D Luna. class BoxApp : public D3DApp { public: BoxApp(HINSTANCE hInstance); BoxApp(const BoxApp& rhs) =…
CFileDialog on load prints wrong "Load File..."\
MFC Visual Studio 2017 Community Update 16..7.2 under Win 10 Home. Code: string_t strLoadNetFolder = GetResourceString(IDS_STRING139); // Name of folder string_t strNetExt = GetResourceString(IDS_STRING140); // Name of file extension "net" …
In MFC, in CRichEditCtrl, how to drag a word and drop in another position
Hi, In MFC in CRichEditCtrl, I want to support drag and drop for a particular word? Could you please help how to drag a word and drop it in another position?
Add another course for jobs
How about software testing career and certificiation
linking problem when including python in C++ file on Visual Studio 2017
Hello, I'm building user interface for usb device using MFC application on Visual Studio 2017 in C++. I've written a short script in python to read some data from a file, which I wanted to use in my program. I've downloaded all the necessary…
dxva2 decode h264 output format
when I use dxva2 decode h264 in ffmpeg,the output format in surface sometimes is nv12,and sometime is nv21,how can I know which format is .D3DSURFACE_DESC Format is same.
Where exactly is macro $(VCTargets) defined?
We had a discussion before. https://social.msdn.microsoft.com/Forums/vstudio/en-US/e04e7791-c0c4-4598-b900-310878f5af45/how-can-i-locate-and-change-the-vctargetspath-variable?forum=msbuild After hours searching .props files, all the $(VCTarget) in…
dxva2 decode h264
when I use dxva2 decode h264,CreateDevice success when cable connect monitor,otherwise CreateDevice return fail when turn off monitor。video card is nvidia ti 1080. why?
waveInPrepareHeader()/waveInAddBuffer() is not returning anything its getting struck only for motorola manufactured dekstop mics and only if the mic is not a system default mic
Hi Team, We are using windows mmeapi's for capturing the PCM data from mic device from very long time about 5 years. We are familial with the API's and usage and capturing the PCM data from mic with winmm API's. We are opening the device(Motorola…
convert exe to misx with c++
I want to convert console exe to misx, it is the first time to me and I want to publish it in windows store and misx package tools want certification how can I package exe to misx with c++ in visual studio
Using bitwise operators in switch case
I have enum, enum ENUM_MSG_TEXT_CHANGE {COLOR=0,SIZE,UNDERLINE}; void Func(int nChange) { switch(nChange) { case COLOR:break; case SIZE:break; case COLOR|SIZE: break } } case SIZE: and case COLOR|SIZE both gives value 1, so I am…
Windows Portable device event monitoring using MFC C++
I need to develop an application to monitor events on Portable devices using C++ MFC. I'm using WPD API for the same. But encountering a few issues. I am not getting the Filename in case of the delete operation. and also not able to register for more…
[UWP] [C++] How do I set theme as system default?
Hello, I'm trying to create an app setting in c++ uwp and it has three radio buttons: "Light" "Dark" and "System Default". How do get the system default (light, dark, etc.) when I initialize the app? Thank you.
How to write an algorithm to solve linear equation in C + +?
C + + has no function or library for solving equations
Pointer Size in 64-bit Operating System
Hello, I read in 64-bit OS pointer is 8-byte. My OS in 64-bit but pointer size is 4 bit.
About Messagebox and DialogBox
I created a dialog box by DialogBox() function. But there was a problem when I tried to add a message box to my DialogProc. The message box could show but I couldn't close it. I noticed that it also couldn't be active (Its title bar was always white). …
None of my projects (all C++) load on new computer
I recently replaced a computer. On the new computer, none of my Visual Studio projects will load (they are all C++). I receive the following error message: error : Project "" does not contain any configuration. The lack of useful…
change the display setting in windows 10
Hi, I have two display ports in integrated system. Based on the ports ID i need to clone or extend the displays Programatically in C++. Is any one have an idea how to clone and extend the displays? Do we have any Windows API to do it? I have used…
Using VS2019 with WSL (Windows Subsystem for Linux)
Hi there - I tried to post a question about Visual Studio and got redirected here (so hopefully it's the right place !! ) I'm trying to install WSL which is a new-ish technology for allowing Visual Studio to build Linux apps. I followed these…