Results 1 to 2 of 2

Thread: Adding a Dialog to an MFC Sample

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 2000
    Location
    Mexico
    Posts
    25

    Adding a Dialog to an MFC Sample

    Hi:

    It's me again well now I have a new one for everyone here.

    I have been working with an MFC Sample and I want to add a Dialog, Resource Files from 'original' MFC Sample have .C extension but when I add a new Dialog it has .cpp extension, until then there is no problem, i can add member variables, write code and almost a happy developer life.

    The problem is when I run app the code (for example of a Push Button) isn't recognized or isn't executed!!! And, when I put a breakpoint in the code of the new resource and Run app I get next Message "One or more breakpoint cannot be set and have been disabled. Execution will stop at the beginning of the program"

    I have tried to change manually .cpp files to .c but VC++ isn't such fool hehe.

    Hope your help.
    The 'H' ^_^

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    rather change c to cpp, not vice versa
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width