Search Results

Showing results 1 to 35 of 35
Search took 0.01 seconds.
Search: Posts Made By: complete ; Forum: C++ and child forums
Forum: C++ Aug 3rd, 2008
Replies: 2
Views: 463
Posted By complete
I have heard a lot of talk about hashtables from time to time. They are supposed to be very cool ways of storing data where the index you use to look up the data is somehow the data itself.

But...
Forum: C++ Nov 15th, 2007
Replies: 4
Views: 1,705
Posted By complete
OK, I am going to use the STL list. I want to have each node have two strings. Here is how far I have gotten:


#include <list> // list class-template definition

using namespace std;
...
Forum: C++ Nov 14th, 2007
Replies: 4
Views: 1,705
Posted By complete
I got a list of items to program in Visual C++.

I could write a linked list from scratch but I want to do something special and best. I am thinking about a hash table.

What is best, linked...
Forum: C++ Oct 16th, 2007
Replies: 2
Views: 1,228
Posted By complete
Apart from buying BoundsChecker or any of the other tools to track down memory leaks. Does anyone have any advice or tips from your years of programming experience to offer on how to track down the...
Forum: C++ Oct 11th, 2007
Replies: 1
Views: 653
Posted By complete
If you wanted to override the closing of an application in MFC such that when the user clicks to close the program, it hesitates until other threads are closed, how would you do it. In other words,...
Forum: C++ Oct 5th, 2007
Replies: 3
Views: 2,895
Posted By complete
The DLL is in Debug mode. I do not use LoadLibrary, instead it is connected to the app using manifest files.
Forum: C++ Oct 5th, 2007
Replies: 3
Views: 2,895
Posted By complete
I have a C++ program I am debugging in Visual Studio 2005 IDE. It uses a DLL. I have the source code for the DLL. Now, suppose I want to debug and step through the DLL. How do I attach this to my...
Forum: C++ Oct 5th, 2007
Replies: 1
Views: 700
Posted By complete
I am working on a windows XP system. I am doing a command line compile and link using a makefile. It works except for the fact that it cannot find some header files.

It has been a long time...
Forum: C++ Sep 12th, 2007
Replies: 2
Views: 516
Posted By complete
Methods before Members or Members before Methods?

In a header file, which do you define/declare first. Do you list all your variables before the methods (also known as functions), or do you do it...
Forum: C++ Aug 31st, 2007
Replies: 1
Views: 2,227
Posted By complete
Can anyone tell me anything about manifest files? Anything at all. I have never worked with them until now and they are a mystery to me. I have to include one in a build and I only get an error at...
Forum: C++ Aug 22nd, 2007
Replies: 0
Views: 698
Posted By complete
Is there an ActiveX control for a display from a cam? There must be one that I can drop into an MFC application.

In the resource editor there is a button for a "Custom Control" in the 2005 IDE...
Forum: C++ Aug 1st, 2007
Replies: 2
Views: 6,779
Posted By complete
How do I capture the Enter Key event in an edit control?

I have so far inherited my own class from CEdit and I am capturing the input keys but it the method used to do this does not receive the...
Forum: C++ Jul 25th, 2007
Replies: 8
Views: 7,959
Posted By complete
I figured it out.
It had to do with a comment that said something like:
// Call-Back Messages

I had it on the wrong line, when I moved it, it was fixed.
Forum: C++ Jul 23rd, 2007
Replies: 8
Views: 7,959
Posted By complete
Something else I noticed. IN the class view, if I click to see the properties of a class, the properties also does not come up.
Forum: C++ Jul 23rd, 2007
Replies: 8
Views: 7,959
Posted By complete
But I am just curious because I don't want to have to rewrite the whole program. What makes the Event Handler Wizard greyed out?

When I am in the resource editor and I right click on a menu item...
Forum: C++ Jul 21st, 2007
Replies: 8
Views: 7,959
Posted By complete
OK, I don't know why the options were greyed out. But I started a new project and it works.

THANKS!
Forum: C++ Jul 21st, 2007
Replies: 8
Views: 7,959
Posted By complete
OK but MS Studio 2005 does not have class wizard like I was used to.
But I think I am close.
I have gone to the munu and right clicked and selected "Add Event Handler Wizard" that seems like it...
Forum: C++ Jul 21st, 2007
Replies: 8
Views: 7,959
Posted By complete
I got the menu appearing now.

But there is a new problem. When I mouse over the menu item the action is taken rather than if I click on the menu item.

I mean, the menu comes up alright but I...
Forum: C++ Jul 17th, 2007
Replies: 8
Views: 7,959
Posted By complete
I am looking for a good example of how to do a pop-up menu in MFC. I have found this bit of code:

void CMyView::OnRButtonDown(UINT nFlags, CPoint point)
{
CView::OnRButtonDown(nFlags,...
Forum: C++ Jul 11th, 2007
Replies: 1
Views: 706
Posted By complete
I have an MFC SDI application and I want to send a message from the MainFrm class to the View class. How do you get a view class from an associate MainFrm class in MFC?
Forum: C++ Jul 11th, 2007
Replies: 4
Views: 2,822
Posted By complete
It is right-click on the control and select Add Variable.:cool:
Forum: C++ Jul 10th, 2007
Replies: 4
Views: 2,822
Posted By complete
Thank you. This is a big help. I will play with it. I hope you can do things like, override or create a method in the CMainFrame class for when the user makes a menu selection this way. For...
Forum: C++ Jul 10th, 2007
Replies: 4
Views: 2,822
Posted By complete
I am used to VC 6.0 and the class wizard. Now I am using Visual Studio 2005. How do I launch the class wizard from a menu command. I have found that if I double click on a dialog box, the class...
Forum: C++ Jun 3rd, 2007
Replies: 5
Views: 1,155
Posted By complete
What is the difference in these two lines?

#define X 100
const int Y 100;

Apart from the fact that one is for X and the other is for Y (har har, very funny) effectively don't they do the same...
Forum: C++ Jun 1st, 2007
Replies: 4
Views: 4,007
Posted By complete
Does anyone have any experience with the free Microsoft development enviroment called Visual C++ 2005 Express Edition?

I have downloaded and installed it and I notice it is a lot different than...
Forum: C++ Apr 12th, 2007
Replies: 1
Views: 1,129
Posted By complete
What I am looking to do is to provide the user (who runs my program) with a list of devices that they can pick from. You can do this with an Open File dialog if you click on "My Computer". What I...
Forum: C++ Sep 14th, 2006
Replies: 4
Views: 1,560
Posted By complete
Included file not found during compile time.

This must be an easy question for you to answer.

I have a header file (basetsd.h) that is located in the
C:\Program Files\Microsooft Visual...
Forum: C++ Sep 13th, 2006
Replies: 4
Views: 1,692
Posted By complete
The file that the code is tryong to link to is CdrvHF32.lib
Forum: C++ Sep 13th, 2006
Replies: 4
Views: 1,692
Posted By complete
I got a Link error 1181 with fresh code from source safe. It is looking for a dll that is in the windows/system32 directory and cannot find it.


So how do I set the path to it?

I do not see...
Forum: C++ May 21st, 2006
Replies: 17
Views: 2,347
Posted By complete
What are some of the pluses and minuses of MFC? I think it is better to do a lot of things that are complicated without it. Any thoughts?
Forum: C++ May 19th, 2006
Replies: 4
Views: 1,082
Posted By complete
Lots of good help.

I will add to your rep.

Now I want to know is this.

How do I open a window in a seperately called thread of execution?

I cannot do it in MFC because MFC requires its...
Forum: C++ May 17th, 2006
Replies: 4
Views: 1,082
Posted By complete
Ok.

Are these things that require MFC? The information I got from Microsoft was __declspc(thread), _beginthread() and _endthread()
Forum: C++ May 16th, 2006
Replies: 4
Views: 1,082
Posted By complete
This is a little embarassing asking this because I used to know this. How do you create a seperate thread in C++ and have mutexes, semiphores and all that. I have forgotten and I wonder if anyone...
Forum: C++ Mar 29th, 2006
Replies: 1
Views: 1,012
Posted By complete
I want to set the command line options for the linker in a C++
project in a .NET IDE

If I click on Project in the menu
and then on Properties a window comes up showing several Configuration...
Forum: C++ Dec 11th, 2005
Replies: 1
Views: 1,111
Posted By complete
I am writing my first C++ .NET program. For reasons I will not go into, I have to write a GUI in a dll called from an executable. All this is done without MFC.

Right now the button bar classes...
Showing results 1 to 35 of 35

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC