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

psapi.lib

Hello guys. I need help.I am working on a project that has been coded, long time ago, using VC++ 6.0 on Windows XP operating system. Now I am upgrading it to VC++ 2010.One of the applications gives an...

View Article


ISAXContentHandler characters event and UTF-8

I'm having an issue with using the MSXML2::ISAXContentHandler.We have some XML files that contain the Euro symbol, and some smart quotes and apostraphes. The XML file is UTF-8 and my understanding is...

View Article


CryptImportKey fails on the Windows 2012 server

I am using Microsoft Cryptography API. It is working fine on Windows 2008 server. We have a new machine - windows 2012 server R2. My code (C++) does not work on this machine.Here is the code sample...

View Article

How to disable SEH

Hello,I try to write an application for my students which is vulnerable to simple BOF. My problem is each overflow i produce is captured by SEH. Of course I do not use try-catch in my function!I tried...

View Article

To use the touch keyboard for Windows 8 do not use the .NET Framework

Window created by using the CreateWindow function and specify the EDIT System Class and touch keyboard for Windows 8 tablet of standard I want to. Can something like this without using the .NET Framework?

View Article


Noob Event Handler Question

I am new to Visual C++ and have created a very simple app in MFC.   I created a dialog with three Edit boxes, two are 'read only'.  I used the Wizard to Add Variable to the Edit Boxes.  (The variables...

View Article

Get a selected textbox to use the cut, copy, and paste methods

I would like to cut, copy and paste text into/from the textbox that the user has selected in visual studio express 2013 C++. Anyone know how?

View Article

Active Directory user-specified UPN or Down-Level format how to get user...

Is there a way to get to the lock screen when user name of the user in Active Directory by specifying the LogonUI UPN or Down-Level format? I want to display the lock screen, user used to log on with...

View Article


warning C4244: 'argument' : conversion from 'CS_INT' to 'short', possible...

Hi All,I have a code snippet in visual studio 2008    warning C4996: 'ocscpy': ocscpy is not safe. Intead, use ocscpy_s ocscpy(p1->lpwstrName, p2->lpwstrName);error C2660: 'ocscpy_s' : function...

View Article


Aboout ZoomPan Image Question

Hello :Firstly ,please download “ZoomPanImageMetro.7z” sample code from MySkyDrive https://onedrive.live.com/?cid=d2327ea047e691b7#cid=D2327EA047E691B7&id=D2327EA047E691B7%21105You may use Tablet's...

View Article

C++ SNMP Extension Agent - how to work with AsnSequence?

Greetings gentlemen! What I need is to create SNMP agent for monitoring our software systems. I’m using "winsnmp" for writing my SNMP Extension Agent in Visual C++. The output is x64 DLL, which is...

View Article

Win32 Project type Application (.exe) build in VS2008 is not running on...

Hi,I have a vc++ win32 type Application (.exe) project created using VS 2008. After successful build I took the exe and ran into another machine with environment windows server 2008 R2 x64. The .net...

View Article

Support for libpng2.dll moving from VS6 WinXP to VS2010 Win7

Hopefully this will be a quick, easy, question.I was asked to estimate the effort to port an application developed in VS6 C++ WinXP to VS2010 Win 7.I did a quick survey of the dependencies an found...

View Article


Reusing custom styles to controls in C++

Hi,I am trying to have customized look for few of the default controls like button, progress bar, etc. I created them in one resource file. But this is limiting me to have this customization to only...

View Article

Caption bar buttons are not visible in win 8 and windows 2012 server

Hi,We have developed desktop based application and  its been in market for long time(Many years). We have placed one button in windows caption bar(Title bar), we can see that button in XP, win 7...

View Article


Help, not recognized as an internal or external command blah

Hey there,I am new to c++, and I have found a great tutorial, but something is wrong. I do not know what it is, but when I try to do a simple program like this:#include <iostream>using namespace...

View Article

Store ID2D1Effect output in ID2D1Bitmap/Image to draw it at a later time?

Hey,i want to convert the output image of an ID2D1Effect to an ID2D1Bitmap, so I'm able to draw it at a later time without applying all the effects over and over...My first try was just to keep the...

View Article


code for tommorow laboratory

hi guysas u wish here are some codes that can we use ale tommorows lab. take this and learn // po9-przeciazanie_operatorow-Kanal_sciekowy.cpp #include "stdafx.h" #include <conio.h> #include...

View Article

program is not debugging

hi all!i just installed visual studio on my lap top.weird thing happen that i cant debug. i try to debug and all i get is a cmd window that dissapears after a moment and that's it!also i'm able to...

View Article

new question : disappearance of intellisense informations

monday mrc 17 time 1700 MEZ while i was editing a vicual c++2010 project , suddenly i got a "intellisense : no further information available " and since then no performance works and evn if i restarted...

View Article
Browsing all 15302 articles
Browse latest View live


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