Re: Visual C++ 6.0 Error messages


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by David Torbert on July 17, 1999 at 22:38:04:

In Reply to: Visual C++ 6.0 Error messages posted by Robert Hurley on July 17, 1999 at 15:05:46:

It sounds like one of a few possibilities.

1. You may not have the windowl.cpp file included in your workspace. Thus, it would not get linked in with everything else. To solve this, right-click on the menu bar and make sure workspace is checked. Then go over to the workspace (listing of all files in your project) and click on the fileview tab. Make sure windowl.cpp is included in there. If it isn't, right-click on the project and choose add files to project. Select the file from the open dialog.

2. Perhaps you did not properly declare the member functions of the WindowList class. Remember, in the cpp file, they need to be declared as:

void WindowList::MemberFunction(int iParam)
{
// code
}

3. Sometimes, VC projects get kinda screwy. (It's a micro$oft thing) Try going to the build menu and choosing clean. Then choose rebuild all. That forces it to wipe everything and rebuild it all.

4. I seriously doubt you would have done this, but there are various different calling conventions for the decorated names of functions. I forget what they all mean and as a general rule, you never care unless you are making a DLL, but you may want to go to project settings and reset everything. That way you can make sure there isn't something screwy with the decorated names. (the stuff like ?AddWindow@WindowList@@QAEXPAD@Z)

-DT





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]