• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 915
  • Last Modified:

Debug Error Messages

I keep getting this error message in my debug window
after the app finishes..
Heres a extract from the window:
Loaded 'C:\WINNT\system32\indicdll.dll', no matching symbolic information found.
Warning: GetWindowMenuPopup failed!
Loaded 'C:\WINNT\system32\MSIDLE.DLL', no matching symbolic information found.
Warning: GetWindowMenuPopup failed!
The thread 0x6D has exited with code 0 (0x0).

Why do i get GetWindowMenuPopup failed ??
I really can't figure this out, the application works
perfectly but it's quite annoying..

It's a MDI app..

Bjorn !!
0
blarsen
Asked:
blarsen
1 Solution
 
Tommy HuiEngineerCommented:
The GetWindowMenuPopup routine in CMDIFrameWnd searches the mainframe for a window popup menu. It should contain at least one menu item where the the id is between AFX_IDM_WINDOW_FIRST and AFX_IDM_WINDOW_LAST. This is where windows will place the captions of the MDI child windows so you can activate them. If you don't have this menu, the program will still run fine, but you will see this warning, which can be safely ignored.

0
 
blarsenAuthor Commented:
HMENU CMainFrame::GetWindowMenuPopup(HMENU hMenuBar)
{
    return NULL;
}

I just added this function as a member function in my mainframe, and the problem vanished..
But i don't know if this is allowed or not..

Bjorn !!


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now