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

#include generate errorC1189

I need to include afxmt.h in my VC++ Windows Forms Application's form1.h in order to declare CEvent but following compile error occurs.error C1189: #error: Building MFC application with /MD [d] (CRT...

View Article


VS2012: Removed support for active contexts switching in MFC?

Hello,Recently I've been updating an existing C++ addin (DLL basically) to use Visual Studio 2012. The addin uses manifest to bind to the latest version of the Common Controls. I know this thing was...

View Article


How do I type right curly (end) bracket in Visual C++ 2008?

I would like the ability to type right curly brace using the Ctrl+Alt+0 key combination. This is the combination I use in every other Windows application, but for some reason it doesn't work in Visual...

View Article

Identify the Structure members

Hi,I woul like to write a generic function which gets any structure as input and prints the values of its member.  But I am sure the function does not aware of the structure elements.  Is it...

View Article

Different C + + versions on a client

Hello, I'm tryingto installBlackBerry Desktop7.0.During the installation ofMSVisual C + +2008 SP1x86installedin version9.0.30729.17.But on the computerthe9.0.3027.6161versionis already installed.When...

View Article


Targetting Application for Windows Xp using Visual studio 2012 ultimate edition

I've installed vs2012 ultimate edition in my computer. i've Visual studio 2008 project files which is Windows service projects. Using VS2012 i've converted those projects into VS2012 projects. i've...

View Article

Data not sent to server from short lived client

Gentlefolk,I am porting a product that was originally written for Windows NT using Visual C++ 6, to run on Windows 7 using Visual C++ 2010. (We have gone through the intermediate step of Windows XP and...

View Article

Multi color CStatic control

Hi,Can I create a CStatic control or any derived class from CStatic, in which I can give different color for each character?I need this urgently. Any quick response on will be a great help.Thanks in...

View Article


SDL help with collision checking

Download Source Here: http://www.mediafire.com/download/8d0osuuabogodb9/NickTest_6-2-2013_1741.zipHello, it has been about a year since I have posted here for help. I am doing some c++ sdl stuff and I...

View Article


General event handler

I created many webbrowsers during runtime.Now i want a common event handler which would execute when any of the webrowsers navigate.Is there any way to do it?Some help please...

View Article

PlaySound() is unstable in Windows 7 - 64bit machines - please help

We have an application that plays a short (half senond) capture sound every time a capture event occurs using a call to PlaySound(). In my Windows 7 - 64bit device, if these events happen quickly (back...

View Article

Is it possible to skip a dll that may cause error:0xc0000374 heap corruption ?

Hi, I am using some dlls as the plug-in to extend my app's capability. But there is a dll that may have a heap corruption(0xc0000374) error in some special flatform?Currently I can't use try catch to...

View Article

MDI and Print Preview

This problem can be reproduced with the samples RibbonMDI and MDITabsDemo.When you have activated Print Preview and then do File / Exit, then the application doesn't exit, but merely closes the Print...

View Article


The best way to close my app?

What would be the best way to close my app via a close button? Should i send a message or...? An example would be great.

View Article

Libs

#include "stdlib.h"#include "esUtil.h"this two rows are underlined (red).what do I need to do to make my program work.I am a biggener and I am trying to run an exampel. 

View Article


LoadLibrary failed with error code 183, but it is OK across remote desktop

Dear experts,We have an application using ODBC connection (Oracle Instant Client 11g). It is working in my developer machine, directly and across remote desktop. It is working in our test machine (a...

View Article

Converting DAO to ADO in vc++ 6.0

HI,I have access 97 database and  was using DAO SDK to manipulate/insert/update data  with vc++ 6.0.Now i am converting my access 97 database to access 2007. What is the process need to follow with out...

View Article


Compiler memory barriers and _mm_mfence

Does calling _mm_mfence perform an implicit _ReadWriteBarrier()?The only descriptions I've found about what the intrinsic does are so vague they could be interpreted either way.  If possible, I would...

View Article

windows 7 64 bit, sysWOW64 failure

The error happens on a windows 7 64 bit, sysWOW64 failure. I have a customer who double clicks on a our xx.cad file that belongs to our software and the application fails to execute randomly. Our...

View Article

Inverse string?

So if I'm using a string,how can I make the non uppercase characters be uppercase,and the uppercase characters be non uppercase?What about reversing the string? Like from 3419 to 9143

View Article
Browsing all 15302 articles
Browse latest View live


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