GDI+ versions?
Still on my learning curve for using metafiles, I'm now drawing one with GDI+, using the GDI+ Metafile class. But I want antialiasing, and for that, I believe, I have to call (one of the overloads of) Metafile::ConvertToEmfPlus( ). These only…
IMFDXGIBuffer interface not found
IMFDXGIBuffer interface is missing on Windows Server 2016. I have installed "Media Foundation" feature, but the problem still exists. Also latest DirectX is installed.. What could cause this issue?
How to pass the interface to the getinstnace of the class instead of passing concrete class in C++
Hello All, In my test project, I am getting the instance of the signleton class (CPSCApp) and that instance I am passing it to the getinstance function of the second class (CCMainApp) . To write the mock functions and set the expectations, I was…
How to install MFC on VS 2019
Hello, I've installed MFC extension for VS 2019 version 16.7 on Windows x64 operating system as follows: But when I open a new MFC project, before I start editing it, there are many undefined identifiers and two errors of "cannot open…
Need information
Hi, I have been trying to know which c++ version am I working within visual studio. When I checked in the package it shows C++ 2010, C++ 2013 andC++ 2015-2019. I would like to know if all the programs are working together or just the latest version! …
Using Visual C++ 6.0
Using the c++ command gets(Data[Point].Comment); to input data from the keyboard and enter into a variable where the variable Comment is part of a structure. The program just ignores, no error or anything. Have the pre-defined library #include…
MFC dialogue boxes for High DPI
Apologies if this has been discussed here before - if so, I couldn't find it. I am belatedly coming round to high DPI. Doing nothing has been OK up to 150%, but it definitely isn't at 250%. I have a standard MFC app with DPI awareness set. The…
Visual Studio 2019 C++ debugger won't let me set data breakpoints
I'm debugging native C++ code in a native DLL that is being called from a .NET assembly at run time. Under Debug > New Breakpoint and Breakpoint window New button, Data Breakpoint is grayed out. I know this feature is available only for…
fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325)
i am using visual studio 2013 in windows 10. while compiling code i am getting fatal error. fatal error C1001: An internal error has occurred in the compiler. (compiler file 'msc1.cpp', line 1325) Kindly look into this and do let me know the…
MFC C++ application: how to clear command line arguments in Task Manager?
I have a MFC C++ application which uses command line arguments. But when the program is running, sensitive information entered on the command line will be displayed in the Command Line column of the Task Manager. 1.So how to delete them? 2.How to change…
How to create a custom control in a dialog with ATL
Hi, I was wondering if anyone can describe the steps for adding an ATL window class as a control to a dialog resource. I found an article discussing it here, but that involves MFC, so I was hoping to get some clarification on how to do it with ATL. So…
Which C++ questions belong here or on Visual Studio Developer Community?
This site looks like a replacement for the old MSDN forums, but Visual Studio also has a C++ Developer Community forum. What sort of questions belong here, and which ones belong on Developer Community?