CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Visual C++ Programming Ask questions about Windows programming with Visual C++ and help others by answering their questions.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old November 1st, 2000, 04:44 PM
    tara tara is offline
    Member
     
    Join Date: Jul 2000
    Posts: 41
    tara is an unknown quantity at this point (<10)
    Class Wizard Error: A duplicate insert block exists for class (CMyclass) in the source files (CMycl

    Hi,
    I am getting this error message in Visual Studio 6.0 when trying to bring up Class Wizard for this specific Dialog resource I have. I have been looking for duplicate entries, and I can't find any. Any suggestions please.

    Thanks

    tara
    Reply With Quote
      #2    
    Old November 1st, 2000, 05:10 PM
    O-Deka-K O-Deka-K is offline
    Member
     
    Join Date: Aug 2000
    Location: Winnipeg, Canada
    Posts: 344
    O-Deka-K is an unknown quantity at this point (<10)
    Re: Class Wizard Error: A duplicate insert block exists for class (CMyclass) in the source files (C

    It's saying that you have duplicate blocks, not duplicate entries. Perhaps you renamed an AFX block by mistake.

    Check that you have only one of each of these in MyClass.h:

    //{{AFX_DATA(CMyClass)
    //{{AFX_VIRTUAL(CMyClass)
    //{{AFX_MSG(CMyClass)

    ...and that you have only one of each of these in MyClass.cpp:
    //{{AFX_DATA_INIT(CMyClass)
    //{{AFX_DATA_MAP(CMyClass)
    //{{AFX_MSG_MAP(CMyClass)

    O-Deka-K

    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual C++ & C++ Programming > Visual C++ Programming


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:41 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009