Click here to Skip to main content
15,894,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 20:49
Hamid_RT10-Jan-08 20:49 
GeneralRe: page fault Pin
George_George10-Jan-08 20:50
George_George10-Jan-08 20:50 
GeneralRe: page fault Pin
Hamid_RT10-Jan-08 21:10
Hamid_RT10-Jan-08 21:10 
GeneralRe: page fault Pin
David Crow10-Jan-08 2:43
David Crow10-Jan-08 2:43 
GeneralRe: page fault Pin
George_George10-Jan-08 2:53
George_George10-Jan-08 2:53 
Generalproblem with named pipes Pin
vasu_ever9-Jan-08 18:56
professionalvasu_ever9-Jan-08 18:56 
GeneralRe: problem with named pipes Pin
Member 75496010-Jan-08 4:05
Member 75496010-Jan-08 4:05 
GeneralDialog creation in win32 dll failed [modified] Pin
narayanagvs9-Jan-08 18:54
narayanagvs9-Jan-08 18:54 
Hi,

I have created a win32 dll and added a dialog resource.
And I exposed functions which would create a dialog and
work on it.

void MyFun()
{
	BOOL blnSuccess ;
	g_MySafeDlg = new CMySafeDlg();
		
	MessageBox(NULL,_T("i am in MyFun"),NULL,MB_OK);

//Check if new succeeded and we got a valid pointer to a dialog object
    if(g_MySafeDlg != NULL)
    {	
		BOOL ret = g_MySafeDlg->Create(IDD_DLG_MYSAFE);
		if(!ret)   //Create failed.
		{
		MessageBox(NULL,_T("dialog not created"),NULL,MB_OK);
		return ;
		}
     }
-----


I am getting Dialog not created messagebox.
What could be the problem?

Any suggestions would be helpful.
Thanks

Today is a gift, that's why it is called the present.

modified on Thursday, January 10, 2008 1:03:05 AM

GeneralRe: Dialog creation in win32 dll failed Pin
Hamid_RT9-Jan-08 19:03
Hamid_RT9-Jan-08 19:03 
GeneralRe: Dialog creation in win32 dll failed Pin
narayanagvs9-Jan-08 20:23
narayanagvs9-Jan-08 20:23 
QuestionCStringArray variable to CString variable Pin
ciiiek9-Jan-08 16:56
ciiiek9-Jan-08 16:56 
GeneralRe: CStringArray variable to CString variable Pin
Nishad S9-Jan-08 18:48
Nishad S9-Jan-08 18:48 
GeneralRe: CStringArray variable to CString variable Pin
Hamid_RT9-Jan-08 19:27
Hamid_RT9-Jan-08 19:27 
GeneralRe: CStringArray variable to CString variable Pin
Rajesh R Subramanian9-Jan-08 21:19
professionalRajesh R Subramanian9-Jan-08 21:19 
QuestionWhy DROPEFFECT_NONE doesn't work when type is CF_HDROP ? Pin
faulfish9-Jan-08 16:05
faulfish9-Jan-08 16:05 
GeneralDLL's and functions/varaibles Pin
ForNow9-Jan-08 15:51
ForNow9-Jan-08 15:51 
GeneralRe: DLL's and functions/varaibles Pin
Naveen9-Jan-08 16:20
Naveen9-Jan-08 16:20 
GeneralRe: DLL's and functions/varaibles Pin
ForNow9-Jan-08 16:25
ForNow9-Jan-08 16:25 
GeneralRe: DLL's and functions/varaibles Pin
Naveen9-Jan-08 16:39
Naveen9-Jan-08 16:39 
GeneralRe: DLL's and functions/varaibles Pin
ForNow9-Jan-08 17:20
ForNow9-Jan-08 17:20 
GeneralRe: DLL's and functions/varaibles Pin
Naveen9-Jan-08 17:24
Naveen9-Jan-08 17:24 
GeneralRe: DLL's and functions/varaibles Pin
ForNow9-Jan-08 17:27
ForNow9-Jan-08 17:27 
GeneralRe: DLL's and functions/varaibles Pin
CPallini9-Jan-08 20:56
mveCPallini9-Jan-08 20:56 
GeneralRe: DLL's and functions/varaibles Pin
ForNow9-Jan-08 23:23
ForNow9-Jan-08 23:23 
GeneralRe: DLL's and functions/varaibles Pin
toxcct9-Jan-08 22:24
toxcct9-Jan-08 22:24 

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.