Quantcast
Channel: Visual C forum
Browsing all 15302 articles
Browse latest View live

How to use WIC, tranparent image background (PNG) and GDI

I'm using the WIC component and opening a PNG file with a transparent background and trying to draw using GDI.I can only use C++ and GDI (NOT GDI+) so does anyone have some pointers or better yet...

View Article


windows installer

Hi, I like to learn how to create Windows Installers (.exe not .msi).so is there any documentation or any external reference for learning it?thanks.

View Article


Run MFC desktop application (Build using VS 2013) throws error in window xp...

Run MFC desktop application(build using VS2013)  throws error "The procedure entry point GetLogicalProcessorInformation could not be located in the dynamic link library KERNEL32.dll. "in window xp...

View Article

Title bar says not responding but program still working on long process

I have a number of Processes that process information in batches. These processes run with a form showing progress bars and progress messages so it is usually evident that they are still operating...

View Article

Title bar says not responding but program still working on long process

I have a number of Processes that process information in batches. These processes run with a form showing progress bars and progress messages so it is usually evident that they are still operating...

View Article


Where are the Direct2D C++ examples (code)?

Can anyone point me to Direct2D sample code for C++. I would not mine 3D code either.Someday we may move on to C#/.Net with the rest of the world but at the moment it's C++, WIN32. I've viewed some of...

View Article

Locking a CD-ROM Tray

Hi,I have created a program to burn files and folders in a CD_ROM. and I want until the burn process is over the tray eject button should get disabled.CreateFile to get a handle to the CD drive and...

View Article

Cannot find interface "IMsRdpDrive" when using VS2008 (MFC class form...

Recently, I'm going to do a remote desktop software with C++.And I found its introduction in msdn,here is the address.http://msdn.microsoft.com/en-us/library/aa383022(v=vs.85).aspxSo I use the...

View Article


Convert C++ to GPU compatible program

Hi, We are interested in converting a C++ model to a gpu compatible program. Is there a way to do this, is there some sort of software? Thanks

View Article


Problem with CMFCToolBarComboBoxButton

After I added item "&" to the CMFCToolBarComboBoxButton control.  When I select it, the combo box will display blank.  Please use the sample "ToolbarDateTimePicker".  In MainFrm.cpp...

View Article

Need help in browse folder dialog. Is there a MFC class to implement this?

I am using MFC class CFileDialog. It selects files. I need to select whole folder. Is there a class to do this?

View Article

visual studio 2010, C++ fatal error C1083: Cannot open source file:

Error:c1xx : fatal error C1083: Cannot open source file: 'E:\DP\mapnik-v2.2.0\include': Permission denied1>  Generating Code...1>  Compiling...1>  agg1>c1xx : fatal error C1083: Cannot open...

View Article

Memory Leak(?) while using "CreateFile" "ReadFile" and "WriteFile"

Hi everyone,    I am writing a program to read and write something through USB to Bluetooth HID. By calling CreateFile with FILE_SHARE_READ | FILE_SHARE_WRITE and WriteFile function so that i can write...

View Article


Parameter error returned by ldap_result

I am using MS LDAP in my project to connect and get information from LDAP server. I am using Wldap32.dll (dated Nov-2010) and Wldap32.Lib (dated Sep-2009). I mentioned these information just to check...

View Article

Warnings when truncating doubles

I have double (ie. floating point) calculations, and the result is to be converted to int. My statement form is as follows:intvar = (int)(doublevar1 * doublevar2 + doublevar3)    ;The compiler gives a...

View Article


Problems with VS6 -> VS13 migration

Thanks for the responses to my earlier query. I'm still stuck getting a custom handler added to a basic hello world problem.Here's my code, the shell is  a basic Hello World program off the web that...

View Article

C++/CLI Error C2869 'std::pointer_safety' has already been defined to be a...

I have a Visual Studio 2013 solution with a native static library and a CLR class library. In my project I'm also using some third party DLL (C++/CLI, compiled with Visual Studio 2012). If, in my...

View Article


map question

Hi,all, I have a vector of XML DOM nodes. I want to use a map<int, int> that the 1st int is the key/index of the vector, and the 2nd int stores a score value that is based on a pairwise...

View Article

Windows 8.1 Dialog boxes not scaling automatically in per-monitor dpi aware...

I'm trying to make an existing application "per-monitor dpi aware".From to this article , it would seem that dialog boxes would automatically scale when they are moved from a 100% to a 125% scaled...

View Article

moving fdrom VS 2012 professional to Express

Hi,I am moving my project from VS2012 pro to VS 2012 express. It seems to recognise the c++ project but does not recognise the win32 projects in the solution.It does not recognise the .vcxproj files in...

View Article
Browsing all 15302 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>