Solved

Debug Error Messages

Posted on 1998-05-12
2
894 Views
Last Modified: 2013-11-20
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
Comment
Question by:blarsen
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 50 total points
ID: 1310019
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
 

Author Comment

by:blarsen
ID: 1310020
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now