Visual Studio 2013 resource compiler error RC2108 - fixed yet?
There was discussion here starting last Autumn under the heading:Error "RC2108: expected numerical dialog constant" after project migration from VS2008 to VS2013and a recent message suggests it is a...
View ArticleUnable to retrieve system info using WMI in Windows 7
Using the example code provided here:http://msdn.microsoft.com/en-us/library/aa390423.aspxI have been able to retrieve hardware information using WMI on many versions of Windows (including Windows 7)....
View Article"The project file '' has been renamed or is no longer in the solution" after...
I've recently migrated some code for a client from VC 6.0 to VS2010. After giving the updated code back to them, they are getting the dreaded "The project file has '' has been renamed or is no longer...
View ArticleQuestion about variadic templates
This question may seem naive, but I just started studying the subject of variadic templates. I have no problem with the example below. But when I comment out the non-template maximum() function the...
View ArticleWhat is the VC++ recommended 2D graphics approach?
I am starting a new program in VC++. This is a 2D graphics program drawing stock charts and a diagrams. It looks like MS is not recommending GDI+ be used in new programs. I am not clear what is the...
View ArticleVisual C++ Form: How to transfer execution flow from .h to .c file
Hi,I want to develop a Visual C++ application with GUI (Visual C++ Form)& the GUI related class is created in the header file with their component callbacks by default.So when in .c file in main...
View ArticleMFC text drawing APIs: kerning and ligatures
Programming with VS2010, and drawing text with the UTF-16 versions DrawTextW, TextOutW, ExtTextOutW of the old APIs (and their MFC wrappers in the CDC class):If one selects an Open Type font then...
View ArticleCan I edit the YEAR Combo from a Datetimecontrol calendar in VC++
Hi, I need to edit the Year control from a calendar .In the CDateTimeCtrl object , if we click the combo , it populates the date calendar, in that calendar If I click the YEAR area, it changes the...
View ArticleHow to Display multiple images in same Window using win32api and c++
I successfully Displayed Images in a Viewer Window following this procedureSteps in Displaying a bitmap-- 0. Get a DC with BeginPaint() 1. Create a memory device context with CreateCompatibleDC()...
View ArticleHow to write efficient codes for matrix-vector multiplication using SIMD?
Hi, everyoneI would like to optimize matrix-vector multiplication using SIMD. The sizes of matrix of 4(rows) * 4n (columns) and that of vector is 4n. Since the columns is the multiples of 4, naturally...
View ArticleHow can I force __cdecl calling convention for member functions as well?
Hi,Is there a way to force VS 2013 to use __cdecl calling convention for member functions as well. Currently it seems to use __thiscall for win32.Thanks,Daman
View ArticlerichTextBox C++
I am trying to send a Hex message to a serial port device and display the response that is a word longer (example: 0x52, 0x0A, 0x01, 0x00, 0x01) in a richTextBox in Hex format, how to do that? I have...
View ArticleFailure to add over 990 windows (STATIC and EDIT) to the original window...
I'm getting a failure when running in the release mode when I've added more than 990 windows (STATIC and EDIT) to the original window. The application is looping through an XML file, creating a label...
View ArticleSOLVED!!! Programs running twice!
Hi,All my programs are running twice in MSVC 2010 Express using Win7 64bit ultimate. First the program runs and finishes as normal. Then for some reason it runs again!!! and a get a load of rubbish in...
View ArticleCalling an exe from GUI App and capturing the output
I have this requirement of calling another (console) based executable (which is a standard tool that I want to use) from my GUI based VC++ APP.Also, I need to capture the output of that console based...
View ArticleUsing CImage in multi-thread
CImage has a private static member:staticCDCCache s_cache;And, in CImage's GetDC function, CDCCache's GetDC is executed:inline HDC CImage::CDCCache::GetDC()throw(){ HDC hDC;for(int iDC =0; iDC <...
View ArticleHow to make hello.exe file from Visual C++ 2010 Express
I just installed Visual C++ 2010 Express and created a new console application with one printf. It compiled and runs in temp window. A dozen files are created except for no .exe file. How does one...
View ArticleVC++ 2013 installation access denied (0x80070005)
Having issue while intalling VC++ 2013 Redistributable (x64) - 12.0.21005Please help.Here's my install log: [112C:18EC][2014-06-11T05:09:01]i001: Burn v3.7.2002.0, Windows v6.1 (Build 7601: Service...
View Articlecannot find overload
Windows 7, Visual Studio 2012, C++This is an awful lot to put in a question, but I have struggled with this error for two days and made no progress.The error message, with some CRs inserted for...
View ArticleThe designer could not be shown for this file because none of the classes...
I am trying to update my code from VS10 to VS13 desktop.I am getting the error: The designer could not be shown for this file because none of the classes within it can be designed. If I add /**/ to...
View Article