Click here to Skip to main content
15,902,763 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem occur to access dll dialog box Pin
SandipG 10-Nov-08 23:26
SandipG 10-Nov-08 23:26 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP10-Nov-08 23:49
ShilpiP10-Nov-08 23:49 
AnswerRe: Problem occur to access dll dialog box Pin
CPallini10-Nov-08 23:27
mveCPallini10-Nov-08 23:27 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP10-Nov-08 23:47
ShilpiP10-Nov-08 23:47 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 6:24
Mark Salsbery11-Nov-08 6:24 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 18:11
ShilpiP11-Nov-08 18:11 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 18:15
Mark Salsbery11-Nov-08 18:15 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 18:45
ShilpiP11-Nov-08 18:45 
Yes the crash occur in when i domodal the dlg.
suppose i take this example
http://www.codeproject.com/KB/DLL/beginnerdll.aspx[^]
now i add one more class CDlg in it and add dialog box having id IDD_DLG.
dlg.h is like this
#pragma once
#include "afxwin.h"
#include "resource.h"
class CDlg :
	public CDialog
{
public:
	CDlg(void);
	~CDlg(void);
	
	enum { IDD = IDD_DLG };

};


and dlg.cpp is like this
#include "StdAfx.h"
#include "Dlg.h"

CDlg::CDlg(void)
{
}

CDlg::~CDlg(void)
{
}


IN myClass.h
i #include the dlg class and create object of m_dlg.

in function say hello i add line
m_dlg.DoModal();

Please check when i domodal the function than crash occur.
It anything wrong here.
Same problem is in my project also.
Frown | :(

Yes U Can ...If U Can ,Dream it , U can do it ...ICAN

GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 18:52
Mark Salsbery11-Nov-08 18:52 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 19:18
ShilpiP11-Nov-08 19:18 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 20:28
Mark Salsbery11-Nov-08 20:28 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP12-Nov-08 18:04
ShilpiP12-Nov-08 18:04 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery12-Nov-08 20:47
Mark Salsbery12-Nov-08 20:47 
QuestionHow to return multiple values in MFC ActiveX? Pin
followait10-Nov-08 22:51
followait10-Nov-08 22:51 
AnswerRe: How to return multiple values in MFC ActiveX? Pin
Roger Stoltz10-Nov-08 23:05
Roger Stoltz10-Nov-08 23:05 
GeneralRe: How to return multiple values in MFC ActiveX? Pin
followait10-Nov-08 23:24
followait10-Nov-08 23:24 
AnswerRe: How to return multiple values in MFC ActiveX? Pin
Roger Stoltz11-Nov-08 0:15
Roger Stoltz11-Nov-08 0:15 
GeneralRe: How to return multiple values in MFC ActiveX? Pin
followait11-Nov-08 15:56
followait11-Nov-08 15:56 
QuestionRe: How to return multiple values in MFC ActiveX? Pin
Roger Stoltz11-Nov-08 22:15
Roger Stoltz11-Nov-08 22:15 
AnswerRe: How to return multiple values in MFC ActiveX? Pin
followait12-Nov-08 3:04
followait12-Nov-08 3:04 
AnswerRe: How to return multiple values in MFC ActiveX? Pin
Roger Stoltz12-Nov-08 3:20
Roger Stoltz12-Nov-08 3:20 
GeneralRe: How to return multiple values in MFC ActiveX? Pin
followait13-Nov-08 3:21
followait13-Nov-08 3:21 
QuestionAVI Player Pin
tanmay.kol10-Nov-08 22:49
tanmay.kol10-Nov-08 22:49 
AnswerRe: AVI Player Pin
Hamid_RT11-Nov-08 3:33
Hamid_RT11-Nov-08 3:33 
GeneralRe: AVI Player Pin
tanmay.kol11-Nov-08 23:42
tanmay.kol11-Nov-08 23:42 

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.