How do I use using namespace System; with VS 2012 and Intel Composer XE 2013?
Simple question but I can't get a CLI mode program to work if I compile using Intel Composer XE. I need to use Intel Composer XE for this project.This is one of the error messages I get if I try to...
View ArticleTrying to compile code for friends !!
Hello.. im ben, im new to programming so sorry if this seems like a stupid question (as it probably is)im using Visual Studio Express 2012 for desktop my problem is, i have written some basic code to...
View ArticleOperrator Array new or push_back?
I have been working on a game for quite some time. I am having objects loaded like socoin_obj.push_back( coin( x, y ) );and executed like soif( paused == false ) for(std::size_t t = 0; t <...
View ArticleError LNK2001: unresolved external symbol __imp_glPopMatrix
Hi, I am getting lots of Link error LNK2001 related to openGL. I am compiling my application in 64Bit OS ( Windows 7 ) error LNK2001: unresolved external symbol __imp_glPopMatrix error LNK2001:...
View ArticleScreenshot
I am trying to capture image using the following code.It works well when the my system is in unlocked condition. but i am getting black image when the system is locked. because BitBlt(..) fails.I am...
View Articlevector insert question
Hi, all, I wonder can I do vector insert like:vector<type> vtr1; vector<type> vtr2; /*vtr1 and 2 have been processed somehow*/ vtr1.insert(vtr1.end(),vtr2); // or it has to be...
View ArticlemciSendString
I am an amateur and have been studying Visual C++ for a few months. I have Visual Studio 2010 Express. I have written a programme (Form) which needs sound. First version used Windows Media Player...
View ArticleC++ wut??
Hey guys! I have one question. I made this code and it has 'several' issues. Don't mind the text that you don't understand, it is because it is in my native language and I tried to make a program that...
View ArticleVisuall C++ 2005 through 2010
Does one need Visual C++ 2005 and 2008 and 2010 installed on their computer? It is Windows 7.I don't use any of them.
View Articledialog on cancel run time error : Run-Time Check Failure #2 - Stack around...
Hi I have mfc mdi application;I have a dialog schedDlg which invoked from a parent window TignSetuplike this : schedDlg evtDlg(0,1); evtDlg.domodal();the dialog shows up and everything is...
View ArticleNon Resizable CDockablePane
I have seen this question asked but have not found a solution. Does anyone know how to restrict the width of a CDockablePane, after it has been docked to the right side of my main window. Or, is...
View ArticleCan't enable Edit and Continue due to /OPT:LBR option
Hello,I have an issue to enable "Edit and continue" feature in my VC++ 2012 solution.During linking I always have the following message : Video.lib(cVideo.obj) : warning LNK4075: ignoring...
View ArticleService not executing task
I got the sample from here: clickAnd just changed this:void CSampleService::ServiceWorkerThread(void) { // Periodically check if the service is stopping. while (!m_fStopping) { // Perform main service...
View ArticleOverriding CWinApp::Run processing and closing application
In a legacy MFC window application the code is overriding CWinApp::Run in order to pump thread messages sent to it and do background processing, without actually having a main window ( I did not design...
View ArticleQuerySiblings - How to retrieve 2nd argument
I have two Pages (tabs) in my dialog. Page A and Page B. Both pages have an edit box : editA and editB.For data validation purposes, I need to notify Page A if editB is changed.I did QuerySiblings...
View ArticleWindows CE 6.0 - Visual Studio 2005 - WinMain insists it is being overloaded
Hello everyone, I can't seem to figure out why the Visual C++ compiler thinks that I am overloading WinMain. Perhaps you can help me. I am compiling for an Advantech x86 board running CE 6.0 here is my...
View Articlemicrosoft visual C++ runtime library
http://windows.microsoft.com?en-us?internet-explorer/download/ie-10/worldwide-languageruntime error on startup only. Uninstalled explorer 10. Still recieve error. Ran Mr Fix it, noresults. Error...
View ArticleBeginner, How to loop to the beginning of the program from an IF statement.
Hey guys, I have been playing around with c++ for about 3 months now. I am not very skilled at the moment ( and certainly not on the level of most people here). I wanted to write a program that would...
View ArticleHow do I fix this error?
I wrote a program to add two matrices. The program I wrote takes in the number of rows and columns (max columns is 50) and then adds them. The 2D arrays required are initialized dynamically. However,...
View ArticleHow to enable the Dr.watso log in Windows 64bit OS Environment and analyse...
Hi All,My application is crashing randomly in the following environment.OS : Win8 64 bit.Application Builded in : VC2005 Win32 environment.About my application.My Application Frontend is VB and...
View Article