Click here to Skip to main content
15,885,952 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Graphic problem Pin
Richard MacCutchan5-Apr-12 22:23
mveRichard MacCutchan5-Apr-12 22:23 
QuestionDetermine if Win Explorer windows are open Pin
K4HVDs5-Apr-12 5:18
K4HVDs5-Apr-12 5:18 
AnswerRe: Determine if Win Explorer windows are open Pin
Richard MacCutchan5-Apr-12 6:21
mveRichard MacCutchan5-Apr-12 6:21 
GeneralRe: Determine if Win Explorer windows are open Pin
K4HVDs5-Apr-12 7:56
K4HVDs5-Apr-12 7:56 
GeneralRe: Determine if Win Explorer windows are open Pin
«_Superman_»5-Apr-12 16:55
professional«_Superman_»5-Apr-12 16:55 
AnswerRe: Determine if Win Explorer windows are open Pin
Chris Losinger5-Apr-12 8:40
professionalChris Losinger5-Apr-12 8:40 
AnswerRe: Determine if Win Explorer windows are open Pin
Randor 6-Apr-12 3:58
professional Randor 6-Apr-12 3:58 
Questionin dialog dll because of App class instance application being crashed Pin
appollosputnik4-Apr-12 20:19
appollosputnik4-Apr-12 20:19 
I have dll where I am creating a dialog whihc is shown from the mfc client application. I loading this dll as an extension dll, then by implementing Do.Modal() function I am showing the dialog which has menus, toolbars,black model visualization screen. When trying to display this screen, it's crashing as debug ASSERT failed, at appcore.cpp
ASSERT(AfeGetThread()==NULL)

My App class is like this in the header file I have the App constructor and in .cpp file I have the construcor and also one instance of ViewApp as below
//MyViewApp.h
[code]
//Inside the class definition
MyViewApp(); //constructor dclaration

//outside the class definition
extern MyViewApp theApp;
[/code]

//MyViewApp.cpp
[code]
MyViewApp::MyViewApp()
{
}

MyViewApp theApp;
[/code]

It's crashing with this code (ASSERT failure in appcore.cpp), and when I am removing this constructor declaration and definition and also removing the one instantiation, then it's not crashing but coming out of the application, My Dialog GUI is not launching.

Please help me whats going wrong in this. Thanks a lot for help in advance.
AnswerRe: in dialog dll because of App class instance application being crashed Pin
Code-o-mat4-Apr-12 21:31
Code-o-mat4-Apr-12 21:31 
GeneralRe: in dialog dll because of App class instance application being crashed Pin
appollosputnik5-Apr-12 0:31
appollosputnik5-Apr-12 0:31 
GeneralRe: in dialog dll because of App class instance application being crashed Pin
Code-o-mat5-Apr-12 0:49
Code-o-mat5-Apr-12 0:49 
AnswerRe: in dialog dll because of App class instance application being crashed Pin
Stephen Hewitt6-Apr-12 1:37
Stephen Hewitt6-Apr-12 1:37 
QuestionTool to identify Controls Pin
john56324-Apr-12 18:29
john56324-Apr-12 18:29 
AnswerRe: Tool to identify Controls Pin
Code-o-mat4-Apr-12 21:16
Code-o-mat4-Apr-12 21:16 
AnswerRe: Tool to identify Controls Pin
yu-jian6-Apr-12 18:22
yu-jian6-Apr-12 18:22 
Questionwin32, Treeview inside tool window Pin
jkirkerx4-Apr-12 11:54
professionaljkirkerx4-Apr-12 11:54 
AnswerNevermind Pin
jkirkerx4-Apr-12 13:08
professionaljkirkerx4-Apr-12 13:08 
GeneralRe: Nevermind Pin
enhzflep4-Apr-12 13:22
enhzflep4-Apr-12 13:22 
GeneralRe: Nevermind Pin
jkirkerx4-Apr-12 15:27
professionaljkirkerx4-Apr-12 15:27 
QuestionSorting CMFCListCtrl on multiple columns Pin
David Crow4-Apr-12 10:53
David Crow4-Apr-12 10:53 
QuestionMemory Leaks Pin
ITISAG4-Apr-12 9:23
ITISAG4-Apr-12 9:23 
QuestionRe: Memory Leaks Pin
David Crow4-Apr-12 10:42
David Crow4-Apr-12 10:42 
AnswerMemory Leaks Pin
ITISAG4-Apr-12 10:48
ITISAG4-Apr-12 10:48 
AnswerRe: Memory Leaks Pin
David Crow4-Apr-12 10:55
David Crow4-Apr-12 10:55 
GeneralMemory Leaks Pin
ITISAG4-Apr-12 10:56
ITISAG4-Apr-12 10:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.