Thread: MFC is messed up somehow

  1. #1
    Labelizm
    Guest

    MFC is messed up somehow

    Right now my app im making "Labelizm" is just using the WinAPI, I wanted to make it using the MFC App Wizard in MSVC++ 6.0 standard, so that i can have the multiple documents feature, but even without editing anything i build it, and get no errors, but when i execute it, it errors and doesnt boot... I used to be able to use the MFC App Wizard with no problems but now it dont work... any ideas why?

  2. #2
    Labelizm
    Guest
    Its an illeagal operation and heres the details...

    MFCTEST caused an invalid page fault in
    module <unknown> at 00de:00005f49.
    Registers:
    EAX=5f4ad498 CS=0167 EIP=00005f49 EFLGS=00010287
    EBX=862341c0 SS=016f ESP=0064fb70 EBP=0064fb88
    ECX=5f4ad498 DS=016f ESI=5f500000 FS=7f2f
    EDX=5f4ad498 ES=016f EDI=00000000 GS=0000
    Bytes at CS:EIP:
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Stack dump:
    5f426d24 00000000 5f500000 862341c0 5f59a570 5f4ad498 0064fbb4 5f554879 5f4b5470 00000000 5f500000 862341c0 5f5b4f50 0000000d 0064fddc 5f58a7d9

    that happens in any MFC type project i try to make, but i can run MFC based programs fine... i dont get it =/ i tried to debug, but it just made MSVC++ stop responding.

  3. #3
    Registered User
    Join Date
    Jul 2002
    Posts
    273
    I'm not an MFC fan so take what I have to say with a grain of salt but you can do everything in the Win32 API just as easily as you can with MFC. I'm aware of the document/view concepts in MFC and you can do MDI apps just fine without MFC. There is an MDI window defined in the API that MFC is wrapping. That's all MFC actually ever does is wrap existing API. Anyhow, I'm sure I'm going to get attacked by the MACRO loving MFC freaks around here.

  4. #4
    Labelizm
    Guest
    hehe

  5. #5
    Labelizm
    Guest
    I fixed my MFC problem by un-installing then re-installing VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIndows programming?
    By hostensteffa in forum Windows Programming
    Replies: 7
    Last Post: 06-07-2002, 08:52 PM
  2. Release MFC Programs & Dynamic MFC DLL :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 05-18-2002, 06:42 PM
  3. Understanding The Future of MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-15-2002, 09:08 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 06:58 PM
  5. MFC is Challenging :: C++
    By kuphryn in forum C++ Programming
    Replies: 8
    Last Post: 02-05-2002, 01:33 AM