MFC CBrush Hatch Failed On PDF Output
Hi, I am working on a project with output to PDF or printer, etc.My development environment is Windows XP Professional Version 2002 Service Pack 3and the development tool is MFC on Microsoft Developer...
View ArticleGetting error -- "Unable to start program 'C:\.......\debug\sample.exe'. The...
I have re-installed it and YES I have tried to check the path to see if the file is there (the .exe file is there). I cannot, for the life of me, seem to get this thing to work. I tried everything of...
View ArticleHow to add a Rdlc Report file to .Resx Resource file ?
I have a small project in VS2010.In that project I have one resource file called MyResources.resx. Now Iam using this MyResources.resx file to store the images required in my project. Also I have one...
View ArticleMinimum Windows version for v120 platform toolset
Hi.What minimum version of Windows (WINVER, _WIN32_WINNT etc.) is supported by v120 platform toolset? As I understood, it doesn't support Windows XP (0x0501). Need to refactor code after migrating from...
View ArticleDoes Graphics.DrawDriverString support the drawing of 4-byte UTF-16 characters?
Graphics.DrawDriverString cannot draw 4-byte (such as [𣱿]) characters correctly. Our project is developed by VS2010, and the Character Set is [Unicode Character Set].//sample test code as...
View ArticleVisual C++ Debugging Error - wuser32.pdb not loaded
I have made a form (GUI) in Visual C++ & while debugging it step by step, I got the following error, which stopped further debugging of the code. The screenshot of the error is shown below. How to...
View Articleunexpected operand size in inline assembler
Hello, I am trying to use the inline assember without success. My goal is to observe outputs of several assembly instructions (and, sub, add) depending on different input size (width ?) and...
View ArticleComparing boost::scoped_ptr and std::auto_ptr
Hi , i was doing a little reading on scoped pointers and i came to aline which stated"Since a scoped pointer simply stores and solely owns an address, the implementation ofboost::scoped_ptr is less...
View ArticleVisual Studio 2008 express compatability with windows 7
Hi, Do you guys know if Windows 7 (32 bit) will run with visual studio express 2008? I know vs08 isn't supported anymore but we have an application that can only run on vs<=08, so there is nothing...
View ArticleHow to create Windows Forms Application in VS C++ 2013 RC?
In VS C++ 2010, the template is easy to find: New Project -> Visual C++ -> CLR -> Windows Forms Application. In VS C++ 2013 RC, New Project -> Visual C++ -> CLR doesn't have Windows...
View ArticleCompiler cannot distinguish different lambda function parameters
I was wondering why this code does not compile:#include "stdafx.h" #include <functional> bool Run(std::function<bool()> f) { return f(); } void Run(std::function<void()> f) { f(); }...
View ArticleC++ templates function argument deduction
In relation to this snippet:#include <iostream> #include <type_traits> template<typename T> void f(T t) { static_assert(std::is_same<T, const int>::value, "T != const int");...
View ArticleFile Path length
Is there any limitation of file path length ?If copied long path file name when minifilter driver is running, it's failed.
View Articleprinter print a ¢
#include<iostream>// printer print on paperusingnamespace std;#include<fstream>#using<System.dll>#using<System.Windows.Forms.dll>#using<System.Drawing.dll>usingnamespace...
View ArticleMy application steals focus from other application
My application is VC++ MFC MDI application. When i run my application on Windows 7, it steals focus from other application whenever a new document is created. In Win XP, I had not faced this issue. Any...
View ArticleHow add a banner at the top of the propertysheet (wizard style) in mfc
Hi, I created a proeprtysheet of wizard style using mfc, the problem is I should add a banner to the top of thepropertysheet. So,I added OnPaint() method to a class "CInstallerWizard" which is dervied...
View ArticleHow to set CFB-128 using Microsoft CryptoAPI?
I am using MS_ENH_RSA_AES_PROV provider with PROV_RSA_AES provider type. I have selected CALG_AES_128 block cipher algorithm with CRYPT_MODE_CFB cipher mode. I would like to set KP_MODE_BITS key...
View ArticleVS 2013 Pro C++ with 2010 toolset - atlimage missing
So it happened that I am a proud owner of VS 2013 Pro. Unfortunately currently I am working with project that requires v100 toolset. I thought that installing VS 2010 Express would match that...
View Articleerror C1189: #error : DAO Database classes are not supported for Win64...
I have project in vc++. I am using VS2010 32 bit, Windows 7 64 bit, Supported components to compile 64 bit projects are installed. I am able to compile the project with 32 bit platform. I want to...
View ArticleSSD Configuration?
Hi Folks: Solid State Drives? Is this the right forum? Isn't that hardware and this forum is about... C++? Yea, this is the right forum. I've been developing projects with 100K plus lines of...
View Article