Using Visual C++ 2019
Seems like Visual C++ 2019 has special codes that are not supported by the standard C++ command structures. For example, many tutorials on-line suggest that one can get input from a console by entering the command as follows: Libraries #include…
![](https://techprofile.blob.core.windows.net/images/1P-HevJX50CFOQJZsnsiMg.png?8D86C2)
Microsoft Visual C++ xxxx Redistributable (x64) Installation
Hello, Is there a way to install Microsoft Visual C++ xxxx Redistributable (x64) - xx.x.xx.xx through MEM-CM / Softare Updates / WSUS ? Thanks, Dom
MFC CRichEditCtrl::PreTranslateMessage
Hi, I subclassed CRichEditCTrl and in PreTranslateMessage I am handling ctrl+x. On ctrl+x I am confirming the user whether to delete text case 88: //ctrl+x if(IDNO==AfxMessageBox(_T("Do you want to delete selected…
Address of Array in C
Hello, Could you please explain the second printf_s? I expect &arr+1 to be similar to arr+1. because arr and &arr are the same. Why sixteen added? Thanks # include <stdio.h> int main() { int arr[] =…
Error with class definition in header file
I built the example program from the "Header files (C++)" guide, and when I compile the solution I get a number of errors because the class 'my_class' is not recognized by 'my_class.cpp' nor 'my_program.cpp' (codes C2065, C2653, etc).
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" …
![](https://techprofile.blob.core.windows.net/images/1P-HevJX50CFOQJZsnsiMg.png?8D86C2)
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
![](https://techprofile.blob.core.windows.net/images/354873dbf57043e9b91f9fe17109b4d4.png)
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.
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
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?
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
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…
![](https://techprofile.blob.core.windows.net/images/Vf3ziQphRU-nMLJsRbeAlg.png?8D8BC4)
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
![](https://techprofile.blob.core.windows.net/images/bpqI_wINOUGg4BYYipkUVA.png?8D827C)
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…
![](https://techprofile.blob.core.windows.net/images/-XpLZOC2C0aShkoENoH2-g.png?8D8375)
[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
![](https://techprofile.blob.core.windows.net/images/StgvhX9HK0yWdl2-8Uimwg.png?8D8418)