Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

classwizard error concerning "duplicate insert blocks"

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Hi :

would someone please be so kind as to explain what this error message means? "A duplicate Insert block exists from class "CSearchDlg" in the source files "...(the file path here)\SearchDlg.h" and "...(the filepath here)\SearchDlg.cpp".

This error occurs when I try select the CSearchDlg class in the class wizard. How can I fix this??

Thank you
 
"Insert blocks" are macros such as this:

//{{AFX_MSG_MAP(CEditCellNote)
//}}AFX_MSG_MAP

Visual C++ automatically inserts code between these lines. If one of these macros was duplicated somewhere (perhaps you copied and pasted some code), the wizard won't be able to tell exactly where to insert it's code.

Hope this helps!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top