Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9027861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:50:53+00:00 2026-06-16T06:50:53+00:00

I have an MFC project where everything was working perfectly fine and I checked

  • 0

I have an MFC project where everything was working perfectly fine and I checked in my code in source control (perforce). All of a sudden the .rc file wouldn’t open. When I try to open, it gives an error Guideline must specify type @ line# 410 which is this:

#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
    IDD_ABOUTBOX, DIALOG
    BEGIN
        , 50
    END

Now granted, it does seem to be missing an entry when I compare it to other projects but I didn’t manually change anything in the rc file and VS2010 has been handling it exclusively. I don’t know when these entries got changed. I got everything from perforce to a new folder and rc file would still not open! Is there any better solution or do I have to just change the entries manually in hope that it will fix it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T06:50:54+00:00Added an answer on June 16, 2026 at 6:50 am

    It turned out the rc file was somehow corrupted by VS2010 at some point. I had the original version in source control and re-merged them manually to fix it. The corrected code looks like this:

    GUIDELINES DESIGNINFO
    BEGIN
        IDD_ABOUTBOX, DIALOG
        BEGIN
            LEFTMARGIN, 7
            RIGHTMARGIN, 163
            TOPMARGIN, 7
            BOTTOMMARGIN, 55
        END
    END
    

    The VS2010 seems to corrupt the rc file randomly when you copy/paste a dialog to create a new one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on a win32/MFC project. I have a custom CListCtrl control that I
I'm working on MFC win32 project. I have dialog with 2 CMFCEditBrowseCtrl controls. After
We have a large Visual Studio 2005 C++/Mfc solution, 1 project with around 1300
I'm working on a bug where I have an MFC application that does weird
I have a custom control created using CreateWindowEx with the WS_BORDER style. Everything works
I have an MFC application that uses an ancient (circa 1999) third-party ActiveX control.
I have a MFC/C++ project that uses the ActiveX Document (Automation) approach for opening
More exactly, the web browser control. In a WM6 dialog based MFC project. This
I have a simple mfc project built on a CDialog. I also have a
We have a smallish C++ Linux project that accompanies our large C++/MFC Windows project.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.