Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Browsing all 3021 articles
Browse latest View live
↧

Windows SDKs repository -- looking for Cardfile source files

Hi everyone: I'm curious if there's a repository somewhere that hosts previous versions of Windows SDKs. I'm looking for the source code for the old Microsoft software, called Cardfile to read .crd...

View Article


CRecordSet doesn't read UNICODE text

I realized the reason why my CRecordSet object is not reading UNICODE text is the RFX_Text_Bulk macro. The documentation says it does NOT support UNICODE which is really way too much behind on UNICODE...

View Article


Dapfor Wpf Gridcontrol Value converter

The cells in my grid have been formatted, I just want to know how to convert values to country flag

View Article

Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of...

Does anyone know of an MFC class that overloads the CWinApp WriteProfileXXX/GetProfileXXX functions so that settings are stored in XML rather then the registry? I know there is a way to use an INI...

View Article

Image may be NSFW.
Clik here to view.

Breakpoint was triggered at dlgcore.cpp

My application will pop up the warning dialog with description below when running on Windows 7 Japan Version in debug mode using Visual Studio 2010: "Windows has triggered a breakpoint in...

View Article


Add custom column in file explorer

Can a custom column be added(for a folder or a existing file type) in the file explorer in details view? Suppose for folder, I want to add a custom column(e.g. size) so that it can be seen in details...

View Article

Need some guidance with a c++ constructor

I have a class Student with name,surname and id number and class Teacher with name, surname and suject. I have to make class School which contains an array of Students and an array of Teachers.I have...

View Article

Reading registry Win32 SDK

MFC registry functions doesn't work in Win32 SDK DLL. Can someone show me how I can read registry using pure Win32 SDK?

View Article


Why error MIDL2272: (async) interface must derive from another (async)...

I'm getting a error MIDL2272 in line 24 when compiling the following IDL file with VS2015: error MIDL2272: (async) interface must derive from another (async) interface : [ Interface 'IVDAAA' ] Code:...

View Article


Image may be NSFW.
Clik here to view.

File Exception

Unhandled exception happened at CStdioFile::~StdioFile(){} destructor when looking at the dump file. However, the dump file has limited info so I am not sure which file(s) are actually causing it. Any...

View Article

How to get the following Mode 13 H C Code to work in Visual Studio 2015 Pro ???

A Very Good Day to you SIR !!! I hope you are doing Great SIR !!! May I please kindly ask if the below C Code for Mode 13 H VGA Mode will work in Visual Studio 2015 Pro ??? I tried to compile it in...

View Article

Linking with DLL using structured exceptions

From MSDN: "We recommend that you not link objects compiled by using /EHa together with objects compiled by using /EHs in the same executable module." In my case, the main project is built with /EHsc....

View Article

How do I deal with this error?

Hi, ALL, Code: --------- 1>------ Build started: Project: dbinterface, Configuration: Debug Win32 ------ 1>Build started 5/29/2016 3:51:25 PM. 1>InitializeBuildStatus: 1> Touching...

View Article


Conversion Program

I am supposed to be creating a program that converts roman numbers to its decimal values. I have done something, but the math is wrong. When entering MCMLXXVIII, I am supposed to get 1978, and instead...

View Article

Registering and inserting new Active-X control

The registered and inserted active x control in new application has empty .cpp and .h files. what is the reason for empty files and how to insert the new active-x control ?

View Article


draw hash table ?

suppose you building a hash table with size 15 elements , storing 8 entries of integers , the 8 itegers are : 18,20,80,54,10,37,28,36 - try to build a hash function for this table and draw the final...

View Article

Issue with playing metafile to device context then saving to bitmap. What I...

Long day. Sure I'm missing something simple. Anyway, I have a valid old school metafile (not enhanced metafile) in the form of a LPMETAFILEPICT. It's valid and everything looks good. What I'm trying to...

View Article


Active X control

We have created one dialog based application and added the .ocx and .lib file to current working folder and we have inserted the active X control in the dialog application,we are facing the issue while...

View Article

Registering .ocx file

We have created a setup file using installshield, we installed the application and we are running the application .exe which uses .ocx file for registering while running the application we are facing...

View Article

Retrieve dailog object in document class

My application is of single document view type and i have inserted one dialog box. I need to send the data from the functions in the document class to dialog box. I can create only one object of dialog...

View Article
Browsing all 3021 articles
Browse latest View live