Popup Window Problem
Problem: In MFC application on Windows 7, we call windows API CreateProcess() to execute following command,"\"C:\\Windows\\System32\\runas.exe\" \"/user:Tom\" \"/savecred\" \"cmd /c start /MIN...
View ArticleLabel = ....
Hello,i Know I'm Asking much today i hope No one understand that like spamI have problem in This codelabel13->Text = ReadToMemory( 0x2EBEDE, "\x41\x23" ,4);i got error, Why ?
View Article100% CPU core usage from devenv.exe in VS2012 RC
Has anyone experienced VS2012 RC's devenv.exe process jumping to full (evidently single-threaded) utilisation of its CPU core? This happened to me with no apparent reason. Tiny C++ test project open. I...
View Articleusing $(ProjectName) in strings like LPCTSTR ?
Hi,is it possible, in Visual Studio Express 2013 for Windows Desktop, to use the project name in strings likeLPCTSTR mystring = TEXT(projectnamereference); /* projectnamereference is the Projects name...
View ArticleHow to display an image (that is stored in RAM) in picture box
Well, I'm working on a project of creating a video player (using VC++) for a video format (that I create myself). I plan to read the video info from the header of the video, then load the data of each...
View ArticleError C1083: Cannot open include file (from network location)
I am switching to Visual Studio 2013, and trying to compile a library that uses Boost.Boost is installed on a network server with a path similar to \\ netserver\libsSure, I have listed this path in...
View ArticleIs there any clause in the Standard allowing this?
Apparently this is allowed by the language.#include <iostream> int main() { int&& r = 10; r += 1; std::cout << r << '\n'; } The code prints 11, and the literal 10 can't be...
View ArticleIncrease in COM related crashes on Windows Server 2008R2
Hi Recently we are seeing a significant increase in crashes related to COM at our client sites after they upgraded to Windows Server 2008R2. Initially we thought it might be due to COM reference...
View ArticleLoading dependent libraries from a specified location
Hi,I am using VS2010 and working on a C++ application. I have a dll which I load using LoadLibrary from a particular location. I have placed its dependent libraries on a separate location and I want...
View ArticleQuestion about implementing external DLL file functions
Hello! I have been working with VB.NET for several years and was provided a DLL file that only works in VC++ 2008 for one reason or another (it was written in Delphi, I believe) and is not supported...
View ArticleProblem with Asiodriver and external Soundcard in my musicsoftware
Assertion failedf:\tmp\build-tmp-3528\proj\asiodrv\asio_driver.cc line 535Expression: pRenPinFor information on how your programm can cause assertion failure, see the visual C ++ documentation on...
View Articleimportant update
I keep getting important update forSecurity Update for Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package (KB2538242)Download size: 2.6 MBYou may need to restart your computer for this...
View ArticleHow to have a console based application run after clicking "okay" on mfc gui...
Hi,I have an mfc application and it is a simple dialog box that takes in user input and stores that information as separate variables. I also have a separate console based application (both...
View ArticleHow can I add a link to the help document in the Tooltip
In Microsoft Office, I found there is a link to the help document called "Tell me more" in the Tooltip of a button. My project using a ribbon in MFC and I want to find the way to implement this link....
View ArticleDisabling linking in VS2013 IDE
Hello,When I compile from the command line I merely use a /c command line switch to disable the linking phase. How do I do this from the IDE? I've tried putting /c in the IDE's command line...
View ArticleFTP transfer with 425 can't open data connection error".
In our application we are trasnfering files form MFP client to FTPServer(our application). This transfer is done for first scan. For the second scan it is showing "425 can't open data connection...
View ArticleUn-named namespaces and link time
Does putting code in unnamed namespaces affect link time in any way?Theoreyically, the linker has less data to deal with when linking object files that were produced from different compilation units....
View ArticleVS2012 - Code Analysis C26135 for inline functions
Hello,I open a new thread here as suggested regarding my question in:...
View ArticleVisual Studio 2013 Express not executing code
I get this error after building and trying to execute "c:\users\myname\documents\visual studio 2013\projects\projectname\debug\ projectname.exe is not recognized as an internal or external command,...
View Articleunresolved external symbol __report_rangecheckfailure
Hey everyone. I'm trying to compile some source code using the libpng library. I get the following error during linking:1>g:\programming\png_encoder\png_encoder\pngencode.cpp(48): warning C4996:...
View Article