Bug in MFC Ribbon code causes images to appear on QAT context menu buttons
Using Visual Studio 2008.Recently found our QAT context menu was showing images on the standard QAT menu buttons:"Customize Quick Access Toolbar...""Show Quick Access Toolbar Above/Below The...
View ArticleEditable ListView not Working
Hi all,I am developing in Native C++ in a Win32 API environment using Visual Studio 2008. I am trying to edit a Subitem in a ListView with checkboxes. Although I have done a lot of research on this...
View ArticleHow to debug (STEP INTO and STEP OUT) openssl-1.0.1g source code using Visual...
Hallo,I have downloaded and built openssl-1.0.1g using this manual.http://p-nand-q.com/programming/windows/building_openssl_with_visual_studio_2013.htmlI compiled and built debug-VC-WIN32 to output...
View ArticleVS2012 - Code Analysis and Volume Shadow Copy API
#include <atlstr.h> #include <vss.h> #include <VsWriter.h> #include <VsBackup.h> int main() { GUID SnapshotId; VSS_PWSZ wszExposed = _T("X:"); VSS_PWSZ wszPathFromRoot = NULL;...
View Articlecl.read.1.tlog files (dependency files) not being written, causes continuous...
One of my machines has an unusual problem. Normally a build creates files called cl.read.1.tlog for each project. These files are Unicode files that contain dependency information for each .cpp file....
View Articlecvtres.exe no longer works
I'm no longer able to use cvtres.exe. When trying to launch it from the command line after vcvars32.bat I get:"The application was unable to start correctly (0xc000007b). Click OK to close the...
View ArticleMobile Broadband Connection Manager IMbnConnectionEvents returns invalid...
Hi, I'm trying to use the Mobile Broadband API to listen to InterfaceManagerEvents. When calling "Advise" on "IConnectionPoint", I get error code 0x80040202(CONNECT_E_CANNOTCONNECT)int main() { HRESULT...
View ArticleTry
Hello,i Have Problem in This Codetry { WriteToMemory(AddressToWrite2, "\x43\x75", 2); } catch (std::exception &ex) { }SomeTimes When i Exit From Game 'room'...
View Articlepseudo code
int cot=0;//this maintain next available array location struct inquiry inqArry[50];//Array of inquiries struct inquiry inqArry[50]; void main(){//main method...
View ArticleExisting C++ Source want to add to Windows C# phone project.
I cannot add the the reference.
View ArticleCustom errors in stored procedures using CDatabase
I'm using the following code to call a MS SQL Server 2005 stored procedure. In that stored procedure I'm checking a condition and if that condition is false, I want to return an error to show the...
View Articlepseudo code
int cot=0;//this maintain next available array location struct inquiry inqArry[50];//Array of inquiries struct inquiry inqArry[50]; void main(){//main method...
View ArticleFree new created file after CloseHandle. WinAPI.
Hello.I have a program that makes a file and I wonder if I can get an access to the file after making the new one with CreateFile(... CREATE_ALWAYS...) while my program's still running. Yes, I close...
View ArticleMemory mapping of empty files.
I want to map a empty file onto virtual memory and write data into it at the run time is it possible for me to do so.Anyone please help me out.I have tried doing by creating a file using createfile...
View ArticleDifferent behavior between VS2010 and VS2012 (decimal symbol in printf/scanf,...
#include <locale.h> #include <tchar.h> #include <string> #include <iostream> #include <atlstr.h> int main() { std::wstring wstr = _tsetlocale(LC_ALL, _T("French"));...
View ArticleGetIconWndClass() return NULL
I am converting a VC6 project to VC2005. After getting pass all the compilation errors, I got pMainFrame->LoadFrame() return false, and program quits. When I debug into it, turns out...
View ArticleWindows Sensor API does not support the HID GetReport to request the sensor...
The HID and Sensor Device drivers and the Sensor Diagnostic Tool all support HID's GETREPORT, which request a data report from the sensor device.Using the Windows Sensor API, when a sensor if first...
View Articleerror C2059 and C2061
Hi,I am beginner of Visual Studio 2008.Now I have some errors with the below source code. Please see the below.I underlined the error line No.44, 50 and 51.-------------------------#include "bsp.h"...
View ArticleVS 2013 regsvr32 buffer too small error when registering a COM dll
I have a atl/COM base solution I'm trying to convert to compile under VS 2013. Whenever VS tries to register a dll I get this error (in part):Microsoft Visual C++ Runtime LibraryProgram:...
View Articleerror C2338: CVarTypeInfo< char* > cannot be compiled with /J or...
I'm gettingerror C2338: CVarTypeInfo< char* > cannot be compiled with /J or _CHAR_UNSIGNED flag enabledI downloaded the hotfix found...
View Article