How show more items in dialog combobox dropdown list?
Using DialogBox to create a modal dialog. The dialog has a single control, a ComboBox. When I click the down arrow in the ComboBox I expect to see a dropdown list with a few items. But that is not the...
View Article3 beginner's problems
Hi- I have these problems while debugging:1. it says the project is out of date2. it says it cannot find the file specified3. it says cannot support default -int.Thanks!
View ArticleC Program compiled using Visual Studio 2012 fails on XP with error .exe is...
I have a legacy program that was written in straight C (not C++). It compiled fine using Visual C++ 6.0 and ran on a Windows XP and Windows Server 2003 machines. I recently ported it to a 64 bit...
View Articlehow to create a *.olb file?
I always see a *.olb file, such as msword9.olb file,I want to know how to create the *.olb file.thank you help
View Articlemultiple worker processes calling HttpReceiveHttpRequest
I want to use the HTTP Server API 2.0 to wrap a RESTful web service around my legacy C++ code. I started with the sample app in MSDN, changed it to use the 2.0 APIs, and then split the app into three...
View ArticlePerformance issue with legacy application
Hi,I am working with a legacy application which is database intensive. It is written using MFC. It accepts XML files and stores file data into database. It is coded in such a way that first it inserts...
View Articlewritting a total vector to a file and read it back.
Hello,Here is my code:struct contactEntry { CString name,phoneNumber; }; vector<contactEntry> contactList;I like to write the total contactList to a file and read it back. Before writting I...
View ArticleCMFCPopupMenu and CMFCVisualManagerOffice2007 - not a good match
Hi.I've noticed that if I use the following code:CMFCPopupMenu* pPopupMenu = new CMFCPopupMenu;after issuing this:CMFCVisualManager::SetDefaultManager(RUNTIME_CLASS(CMFCVisualManagerOffice2007));the...
View ArticleCannot build topoedit SDK multimedia sample with VS2010 under Win7 x64 or...
Hello,I have tried the past days to develop a media player for an application using Media Foundation. As a start I decided to look at how topoedit is built and extract some things that I need.The...
View ArticleNative C++ and C++ CLI
Hi,I want to make a training project using Visual C++. I chose this because I want to code in C++, but at the same time I want the visual facade - I don't want to write huge code just to draw the...
View ArticleMicrosoft Visual Studio 2010 DirectX Linking,etc.
Hello. I've bought a book named 3d Game programming with DirectX 11 by Frank D Luna.And in the book i am suppose to link library files and add directories to different places.After linking the library...
View Articlezoom event in cdhtmldialog
Hi , i want to get the optical zoom event in my dialog class derived from cdhtmldialog ....i came across IZoomEvents class which has that method....but not able to implement it..how do i implement...
View ArticleGetOpenFileName
In C++ i am using GetOpenFileName() function . it opens the dialogue box, in which i can select the file but above that it shows an error window displaying that "location not availlable." What may be...
View ArticleModal dialog box hangs with multiple keyboard languages in Window 7
My VC++ application is a multi-thread .Threads within the application communicate with each other using SendMessage() .Inside Thread 2 :SendMessage(WM_OPEN_FILE)Inside Thread 1:...
View ArticleThe thread is not released after the event was signaled.
I use Visual Studio 2005 to develop my application, which is running on Windows Server 2008 R2 standard. We met an issue, it seems that it was due to thread scheduling.We have two threads name ThreadA...
View ArticleBIOS and a boot loader
I have MASM 6.1 on my MSDN folder if needed.I was wondering, for a BIOS that has to fit in 8kB of storage, is VC 2013 going to be able to squeeze it in?worse that code has to be 8088 CPU to potentially...
View ArticleDynamic Bone Moving
Hello,A DirectX Question:After loading character data from .x fileI'm trying to move / rotate the bones position and that would skin the whole character againbut all samples I see load a predefined...
View ArticleVisual Studio 2012 rc.exe
Hello community,Since some weeks I have some strange problems with Visual Studio 2012, because it gives me either the linker.exe error or the rc.exe error.In both cases, I can't compile my project(s)....
View Articleuse of undeclared constructor
I am beginner C++ trying to build a MFC project;I have a class CSheduleEvent declared like thisclass CSheduleEvent {CSheduleEvent :CSheduleEvent (){ //initiallize }}and then in another class I...
View Article