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

CrypEncrypt text with CryptoApi aes 128

i'm trying to crypt a text using AES128..this is my code:typedef struct { BLOBHEADER header; DWORD key_length; BYTE key_bytes[16]; }AesBlob128; void encrypt2(const QByteArray &data,const QByteArray...

View Article


MFC

Hi MS,How can I call the View from my Document file?void CMFCApplication4Doc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: ar << m_CountViews; // сохранение счетчика видов...

View Article


Changing Button text in a Button in IDR_MAINFRAME

Hi all!I need at runtime to change the text of the first button of the Menu Bar of IDR_MAINFRAME,normally, the "File" Button.I tried in OnCreate() of CMainFrame, m_wndMenuBar->SetText(0,...

View Article

error LNK1561:entry point must be defined.

Hi all Iam migrating my application from vc++ 0.6 to vc++ 2013.There are a total of 30 projects which is to be migrated from vc++ 0.6 to vc++ 2013 version.The first error iam facing is error...

View Article

east bitwise question

Using VS2013 C++11 I'd like to pass an enum as a function parameter enum class myEnum { option1 = 0x01, option2 = 0x02, option3 = 0x04, option4 = 0x08 };I have a couple of questions1) how do I pass the...

View Article


Cannot save file when help ID set to true

Hi,I have already posted this question on the general forum and have  been referred to this one.I am trying to build a context sensitive help system using Microsoft's HTML workshop. I understand I have...

View Article

Supress warning in MSBuild 4.0 for C++ application

Hi,I’m trying to suppress warnings from MSBuild run without any success unfortunately.I’m compiling C++ project and I tried many different switches like: /clp:ErrorsOnly, /p:NoWarn/P:WarningLevel=0All...

View Article

"external" EXE path

Hi,  I am creating an application in VS 2005, c++.  The app calls an external exe file with parameters.  The deployment project places the exe in the application folder as I would expect.  I am using a...

View Article


How to add Zoomin option to Resizable Rectangle (Drawn by CRectTracker)

Hi All,How to add Zoomin and zoomout option to a Resizable Rectangle which is Drawn by CRectTracker.Help me to do this..Thank u all..

View Article


how to DRAW BUTTON inside Clistctrl (which is in ICON VIEW)

how to DRAW BUTTON inside Clistctrl (which is in ICON VIEW)

View Article

MS SQL Server Connection With a Visual C++ program Server 2012 & Visual...

I got my university semester project to execute SQL server query in bulk on priority scheduling i have searched allot but not find the way to establish a connection between SQL server and a C++ program 

View Article

can you tell the working of this code :/

 #include<iostream.h> #include<string.h> #include<stdio.h> class test {char str[40];char str1[40];public:test( char*s){strcpy(str,s);  }  int function(); }; int test::function() {...

View Article

Unable to achieve successful "full-duplex" serial communications on Windows 7

Trying to port an operational, C++ serial communications utility from a Windows Mobile device to Windows 7 64-bit platform.   Without significant modification, the Win7 version is able to receive...

View Article


RegisterClass in x64 gives EXCEPTION (OK in win32)

This is VC++ MFC application : I am using VS2008, but the same happens in VS2010 as well. I am clicking a button to pop a new dialog box.  That's when I get an exception, only in x64 (win32 is OK and...

View Article

Debugging application in VS2012 does not find DLL in working directory

In a VS2012 solution I build successfully, set my Debugging working directory to a directory outside my bin directory, and start debugging my startup project by pressing F5. After loading a number of...

View Article


Visual Studio 2013 - C++ Installer Fail

I'm trying to make an installer in C++ for a Windows Forms application, and I've discovered 2 minor/major bugs.Trying to view the HTM files directly makes the graphics look messed up.Trying to start...

View Article

XML XPath question

Hi,all, I have a xml file which contains a number of nodes:<LagoutNode1_1 ...></LagoutNode1_1><LagoutNode1_2 ...></LagoutNode1_2><LagoutNode1_3...

View Article


DIA SDK for Visual Studio 2013?

Where is DIA SDK in Visual Studio 2013?  I cannot find DIA header (dia2.h) in VS2013 installation.

View Article

How to display Composition in the cadidate window in TSF

Hi,How can I show the composition string in the candidate window?I download the 9th  demo example (candidatelist) , it show its composition string in the document context. but it want it to be...

View Article

Writting to physical device using raw I/O

Hello,I'm writing a format utility for SD cards and I'm having problems writing to the card using raw I/O. I've tried FSCTL_DISMOUNT_VOLUME and FSCTL_LOCK_VOLUME. Both calls succeed must of the time...

View Article
Browsing all 15302 articles
Browse latest View live


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