Click here to Skip to main content
15,890,670 members
Everything / Programming Languages / Visual C++ 14.0

Visual C++ 14.0

VC14.0

Great Reads

by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
by Nish Nishant
The article goes through sevean language and IDE features in the VS 14 CTP 2 that are specific to C++ development

Latest Articles

by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
by Nish Nishant
The article goes through sevean language and IDE features in the VS 14 CTP 2 that are specific to C++ development

All Articles

Sort by Score

Visual C++ 14.0 

25 Feb 2018 by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
11 Mar 2018 by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
16 Mar 2020 by Richard MacCutchan
In addition to Steveb's comments, make sure you have the latest MFC library installed (not mfc100d.dll). Once you have the correct libraries installed, then rebuild your project.
18 Jan 2016 by Richard MacCutchan
You already posted this at pass variable value from one dialogbox to other/ one class to other class in vc++ MFC[^]. Please do not repost, but edit your original question. And please add some proper details, we cannot guess where this occurs in your project.
3 Oct 2018 by KarstenK
You need some common data, possible is it as member in a permanent class object (like the app or document) or as global object. You can this achieve via some PostMessage architecture and send the data as parameters, or as global model object which is accessable via pointers to both dialogs.
14 Nov 2018 by Member 14052778
Warning C4477 'sprintf' : format string '%s' requires an argument of type 'char *', but variadic argument 2 has type 'CString' What I have tried: sprintf(m_Tip.szUnit, "%s", "for Relay Address");
19 Apr 2017 by Member 13089825
how to move items up and down suppose if selected item 4 at list view and and selected the up button then selected item should move to top and top item should come to 4 th place. What I have tried: I'm new to mfc so no idea so I am reading about this how to implement
19 Apr 2017 by Jochen Arndt
You have to exchange the items. Get the item contents by index (index 0 and 3 in your example) into variables and set them using the other variable. How to do this depends on your list style (report or not) and the amount of information stored per item (text, image, check box, user data). For...
10 Jun 2020 by Coder969
I am trying convert some of old project from vs2005 to vs2015 . Below is the error I am seeing while building it in 2015 . I dont see any problem while building in vs2005 error C2065: 'DOMDocument40': undeclared identifier Below is the code. I am getting the error at the CreateInstance ...
31 May 2017 by Richard MacCutchan
See MSXML 4.0 GUIDs and ProgIDs[^].
8 May 2018 by Donguy1976
I'm having a dialog based app written in VC++ using Visual Studio 6. It's a simple app with very few texts, but now those needs to support multiple languages. As it's not many texts, the plan is to add all the different languages into just one string table with a unique identifier. So now a...
8 May 2018 by User 7429338
Resource DLLs is the recommended way to do this, but if you have reasons to not want to use those, constructing the resource IDs in code is not impossible. The ID's in resource.h are integers, and refering to them as e.g. IDS_STRING_OK_BUTTON_ENG can only be done at compile time. However you...
8 May 2018 by Richard MacCutchan
Why try to re-invent the wheel, when Windows already provides the ability to have multi-language resources? See Multiple-Language Resources[^].
3 Oct 2018 by Member 13866664
I have added two dialogs in SDI. Dialog 1: Position Dialog 2: Velocity Now i want to add a variable or function. How or where to add a variable or function which is accessible in both dialogs. what to do??? What I have tried: I have added two dialogs in SDI. Now i want to a if file. Dialog...
14 Nov 2018 by CPallini
Quote: sprintf(m_Tip.szUnit, "%s", "for Relay Address"); "for Relay Address" doesn't look a CString to me. Possibly you are reporting the wrong line. By the way, what is wrong with m_Tip.szUnit = "for Relay Address"; ?
14 Nov 2018 by CHill60
Try using a char array for your text e.g. char s[] = "for Relay Address"; sprintf(m_Tip.szUnit, "%s", s); Or in this case m_Tip.szUnit = "for Relay Address"; assuming m_Tip.szUnit is defined as std::string
17 Mar 2020 by Member 13261094
I have migrated application from VS2010 to VS2017 professtional. I am getting below exception in 2017 profssional at the time of exection. I have selected Visual Studio 2017 (v141) toolset and 10.0.17763.0 Windows SDK. Exception thrown at...
16 Mar 2020 by steveb
If you rebuild in VS 2017 you won't need mfc100d.dll And 'd' suffix suggest it is a "debug" version of DLL that should never be shipped with executable. So your downloading it won't do a thing.
16 Mar 2020 by KarstenK
you need to throw out the old mfc100d.dll from project. Rebuilding should do the job. Watchout for sub project or other own dlls in your projects. Best is to check all other modules for rebuild or newer versions. It is the old and ugly dll hell.
17 Mar 2020 by Rick York
As mentioned, you should NOT need mfc100d.dll at all. The fact that the program uses it means you do not have your project set up correctly or you have not fully rebuilt it. The cause of your problem is a null pointer passed into a MFC function...
26 Nov 2021 by Richard MacCutchan
It is more likely that you have an error in your source file before the #include line, or another missing include. If you can demonstrate conclusively that it is in the istream header then you should report it to Microsoft.
25 Jul 2014 by Nish Nishant
The article goes through sevean language and IDE features in the VS 14 CTP 2 that are specific to C++ development
14 Nov 2018 by OriginalGriff
See here: c++ - How sprintf works with CString and std::string - Stack Overflow[^]
15 Nov 2018 by MadMyche
Right click on the project in solution explorer. Navigate to >Properties >All Configurations. Open the tree for C/C++ and then >Precompiled Headers. Select Use {/Yu} Fill in the Header File field- yours should default to something like pch.h Make sure your header files contain pch.h and...
3 Oct 2018 by CPallini
Assuming the dialogs share same parent window, any public method of such parent window is accessible to both. E.g. suppose the parent window (say MainWindow) implements a public method (say getMass()), then, in any of dialogs you may write: MainWindow *pmw = reinterpret_cast...
15 Nov 2018 by Richard MacCutchan
The first error indicates that you need to (re-)create your pre-compiled headers. See the Compiler section in the Project settings. The second error indicates that the linker cannot find the definition of cD25Dlg::GetThisClass. Possibly because of the first error, possibly because one source...
10 May 2020 by Richard MacCutchan
The inf file is used to install the driver, but has no effect on applications that will send output to that printer. But using a Filter Drivers - Windows drivers | Microsoft Docs[^] may be the answer.
10 May 2020 by Member 14770565
I have successfully created V4 printer driver and installed it on 64 bit windows 10 system. I have created another .net windows application (.exe) for editing file(eg.pdf) and adding header page in it. As shown in below screenshot , we need to...
10 Jun 2020 by Dattatraya Mengudale
Just do 2 steps as below.. 1. Specify header as #include 2. Rename to only as below, // Format the XML. This requires a style sheet MSXML::IXMLDOMDocument2Ptr loadXML; hr =...
25 Nov 2021 by Chrissie.ja
There is an error occurred when I included the "istream" of VC2019. How to solve this? Error detail: 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\istream(884,1): error C2947:...
15 Nov 2018 by Member 14052778
Error C1083 Cannot open precompiled header file: '.\Debug\D25.pch': No such file or directory What I have tried: Error LNK2019 unresolved external symbol "__declspec(dllimport) public: static struct CRuntimeClass * __stdcall cD25Dlg::GetThisClass(void)"...
18 Mar 2020 by Member 13261094
Program compiled successfully. But when i am executing program , getting below exceptions 'SiAQUA.exe' (Win32): Loaded 'C:\svn_wa\Wbcode\Trunk\Projects\SiAQUA\Debug\SiAQUA.exe'. Symbols loaded. 'SiAQUA.exe' (Win32): Loaded...