I"m a NOOB...Why isn't my code working!?
2 days ago I got the book C++ How to Program /8e by Paul & Harvey Deitel. In the course of working my way through the book I got stuck on chapter 3 Section 7: Separating Interface from...
View Article[RESOLVED] I"m a NOOB...Why isn't my code working!?
2 days ago I got the book C++ How to Program /8e by Paul & Harvey Deitel. In the course of working my way through the book I got stuck on chapter 3 Section 7: Separating Interface from...
View Articlereal time plotting of latitude and longitude
hello, can anybody help me with any application or open source software (vc++ or vb.net or c#.net) that can display a high resolution map and i can input real time latitude and longitude of points...
View ArticleMfc..how to change font of string with menu button
I need some help.i want create menu button to change font of CString displyed in main window. We can see string "SAMPLE",and when i press menu button that i created i want to string "SAMPLE" to display...
View ArticleCode reuse by handling CEdit ON_WM_SETFOCUS handler
In my application I need to to bring up a keyboard dialog when a user clicks any of the edit boxes in the application. Therefore I have OnSetFocus() implemented in all over the application (dialogs)...
View Article[RESOLVED] Conditional breakpoints in VC6
I'm having to debug a program that was originally written using VC6 (fortunately I still have VC6 installed on an old machine). Setting break points is quite similar to VC2005 etc but I can't seem to...
View ArticleConnect between Visual C++ 2008 and SQL Server 2005
hi, I use Visual Studio 2008. I wonder how to connect the Visual C++ to my SQL server (.mdf extension). in seems easy to connect visual basic and visual C# from data source to their project. but in...
View Articlequestion about polymorphism in c++
Hello, im starting out in c++ and i want to know why this code prints out base Code: struct base { virtual void foo(void){ cout<<"base"<<endl; } } struct derived :...
View ArticleDon't know why program keeps crashing
I am reading in values from a file, and am not sure what's wrong with my code? My main issue is within the area in bold, can anyone tell me what's wrong? Thanks. Code: void createList(intNode*&...
View Article[RESOLVED] Can't load 64-bit key using RegLoadKey in 32-bit service
I need to open up and modify a user's registry key from a 32-bit service (note that the user is not logged in at the time.) I do the following: Code: //For simplicity error checks are not shown //I...
View ArticleGifdecoder,BitmapSource and System.Windows.Controls::Image in mfc
hi. first of all sorry for my bad english. i need make a CBitmap or a streamdata from a System.Windows.Controls::Image(rendered out put)in a SDI mfc application (supporting \clr). here is my codes:...
View ArticleC programming Help
Hello all I just like to ask that what is the scope of c programming, what all topics should be covered and it is kinda bothering me and has anyone studied from this course...
View ArticleHow to enumerate font styles for a given font
I recently switched from Visual C++ 6.0 to Visual C++ 2008. With Visual C++ 6.0, I used a callback method to get available font styles for a given font. I don't think that is working correctly anymore....
View ArticleGetSaveFileName: memory usage?
Hello, I have a question: before I call GetSaveFileName the memory usage is: 1657MB free, largest free memory block: 1080MB after calling GetSaveFileName: 1641MB free, largest free memory block: 640MB...
View ArticleCFileFind and Windows 8
I am writing c++ code in Visual Studio 2008. I just got a computer with Windows 8. Now, the program takes a long time to run 'CFileFind'. It works, but just takes a few minutes rather than seconds. I...
View ArticleNeed Help with c++ with application development
Basically the question is to develop an application that allows: Create an application which stores information about people, along with a task list. The user should be able to Store people's...
View Article[RESOLVED] MDI Child Splitter crashes on closing last view
I previously posted on how to create an MFC MDI Child splitter. Thread: Problem splitting child window in MFC MDI program and a small demo has been attached to that thread....
View ArticleStatic analysis of C++Builder and WinRT projects
I'm addressing developers with a specific request. Our plans for the PVS-Studio 5.00 static code analyzer are to implement integration with the C++Builder environment and support for the C++/CX...
View ArticleHow to send a windows message from C# to C++ (MFC)?
Hello mates, I'm trying to send a windowsmessage from an app in C# (Compact Frame) to another one in C++ (MFC), both of them in a PDA. In the receiver app (MFC) I realize that I receive the message but...
View ArticleShow memory leaks in dll?
Hello, when ending my app in the debugger, memory leaks will be shown like this: Detected memory leaks! Dumping objects -> C:\PROGRAM FILES\VISUAL STUDIO\MyProjects\leaktest\leaktest.cpp(20) : {18}...
View Article