0xC000001D: Illegal Instruction when resuming from a breakpoint
I'm working in Visual Studio 2010 Professional on Windows 7 x64. Rarely I've seen 0xC000001D: Illegal Instruction when I resume from a breakpoint and/or try to jump a line. This is not specific to any...
View ArticleCannot receive complete string
I wrote a simple socket program by following Sam21 learn VC++ 6.0 in 21 days. I have a server and a client. I wrote handlers for send button and receive. When I send a string I am receiving only first...
View Articleproblem of updating windows service
I've setted "CanStop" attribute of my service to "False". When I'm using a Process.kill method to terminate this service process in ProjectInstaller_BeforeUninstall() it failed.How can I update this...
View ArticleBoost Interlocked_Exchange
I would greatly appreciate some help with this... Any ideas what is going wrong with the boost libraries and how to fix it?I am building a multi-threaded app on Visual C++ 2010 Express and downloaded...
View ArticleHow to add coloured borders around existing runing apps in windows
I noticed that on the windows platform, when dragging a running application between multiple monitors, the borders of running application turn green. I wanted to know how that could be achieved. Are...
View ArticleStore ID2D1Effect output in ID2D1Bitmap/Image to draw it at a later time?
Hey,i want to convert the output image of an ID2D1Effect to an ID2D1Bitmap, so I'm able to draw it at a later time without applying all the effects over and over...My first try was just to keep the...
View ArticleTaking input for symbolic expressions in SymbolicC++
Hi,I need to take input for an expression using SymbolicC++. I need to then integrate the function and print the output. It'll be something like this#include <iostream> #include "symbolicc++.h"...
View ArticleHow to move from control to control using arrow keys
Hi, I have made an application in C Windows Api where I have a kind of grid of radio buttons and small edit controls. I want to be able to move between these controls using arrow keys.I have made the...
View ArticleStack operations
So I am learning C++ and am working on a couple of challenges. The purpose of the code below is to create a stack, and then use it to convert infix to postfix. Currently anything without parenthesis...
View Articleclass reloading in c++
Hi all,Using c++, can you dynamically do the following:1. load a class2. modify the class outside the running application3. reload the same class where you can see the class after modificationThank you
View Article"Choose file"
Hi. I want to do this; User can select any .wav or .mp3 files to play. For this I need "Choose file" button (in dialog based of course). Please give me some examples and/or codes to do this. P.S: I...
View Articlec# Error
I am getting a runtime error as follows->LINK : fatal error LNK1181: cannot open input file 'FILENAME'
View ArticleHow to get coordinates of a pictureBox in Windows Form application (c++)
Hi everyone!! I am working with a C++ project which is related to a gun game. I am confused the coordinates stuffs and I would like to know how to find the coordinates of a picture to do the collision....
View ArticleSpecial Unicode characters not displayed in button
I have now spent a couple of days trying to display the special characters ↑ (up arrow) and ↓ (down arrow) on buttons in an MFC based dialog. I have previously displayed other special characters in an...
View Articlewarning C4290: C++ exception specification ignored except to indicate a...
Hi All,This particular warning, generated on compiling my vc++ code in VS 2008 is bugging me for a while. On going through related posts in SO and in microsoft forums for this warning, It is advised to...
View ArticleIn Direct2D Image Quality lost while rendering the image brush has viewport...
we are developing a application which renders XPS document as images using Direct 2D. In that we are facing a problem with xps image brushes having some brush transform with viewport as (0,0,1,1),...
View ArticleReusing custom styles to controls in C++
Hi,I am trying to have customized look for few of the default controls like button, progress bar, etc. I created them in one resource file. But this is limiting me to have this customization to only...
View ArticleLink 2019 error but the definition exists
Hi,I have been trying to get an external library to work within visual studio 2013, but am getting error 2019 unresolved external symbol for all three functions within the code. Everything seems to be...
View ArticleThe VC++ application downloaded from the SVN and converted using VS2010 to...
Hi,I have 1 VC++ project downloaded from the svn and converted using VS2010 and build it successfully.When I am running the exe in another machine windows server 2008 R2 x64 I am getting error as shown...
View ArticleQuick Access Toolbar (QAT) doesn't shown in Ribbon MFC
Hi,I'm converting an existing application to use ribbon. I'm using visual studio 2012. I tried to add buttons through QAT properties editor in the ribbon designer. The QAT shown in the Test Ribbon...
View Article