A midi controller in a desktop program freezes the graphic controls, though they still function
I have made a music program in Visual Studio for Windows with C and Fmod that contains a graphical keyboard, a selection of sound files etc., and which also contains a midi controller. I use the midi controller by connecting a midi keyboard to the…
MFC -CRichEditCtrl Paste Text
Hi, In MFC dialog based application, I have subclassed CRicheditctrl. In the cricheditctrl, If a text is cut/copy from same richeditctrl, I need to allow pasting of text otherwise, if a text is copied from other control or microsoft word kind of…
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…
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" …
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…