Click here to Skip to main content
15,900,524 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem with float ( differnce between float and integer) Pin
CHEICKNA TRAORE15-Sep-02 8:56
CHEICKNA TRAORE15-Sep-02 8:56 
GeneralRe: Problem with float ( differnce between float and integer) Pin
Hadi Rezaee15-Sep-02 9:05
Hadi Rezaee15-Sep-02 9:05 
GeneralRe: Problem with float ( differnce between float and integer) Pin
Pavel Klocek15-Sep-02 19:06
Pavel Klocek15-Sep-02 19:06 
GeneralGetting ADO version ! Pin
Hadi Rezaee15-Sep-02 8:44
Hadi Rezaee15-Sep-02 8:44 
GeneralRegistering DLLs or ActiveX !!! Pin
Hadi Rezaee15-Sep-02 8:32
Hadi Rezaee15-Sep-02 8:32 
GeneralRe: Registering DLLs or ActiveX !!! Pin
Dave Bryant15-Sep-02 16:09
Dave Bryant15-Sep-02 16:09 
GeneralRe: Registering DLLs or ActiveX !!! Pin
Hadi Rezaee16-Sep-02 22:09
Hadi Rezaee16-Sep-02 22:09 
GeneralUsing Dialog Box in DLL Pin
Atlence15-Sep-02 7:36
Atlence15-Sep-02 7:36 
Hi!

I've created a MFC Dll. I have exported a function which must display a dialog box. I have tried to use the CDialog class but the dialog doesn't appear.
Here a portion of my code(CreatePageDlg is the dialog class of the dialog I want to display):

#include "stdafx.h"
#include "web.h"
#include "CreatePageDlg.h"

__declspec(dllexport) void __cdecl ShowDialog(CString FileName)
{
CCreatePageDlg dlg;
dlg.DoModal ();
if (dlg.DoModal ()==IDOK)
{
}
}

What's wrong.

Thks in advance!
Appstmd
GeneralRe: Using Dialog Box in DLL Pin
Michael P Butler15-Sep-02 9:58
Michael P Butler15-Sep-02 9:58 
GeneralRe: Using Dialog Box in DLL Pin
Mike Nordell16-Sep-02 0:24
Mike Nordell16-Sep-02 0:24 
QuestionWhere can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
Ștefan-Mihai MOGA15-Sep-02 6:14
professionalȘtefan-Mihai MOGA15-Sep-02 6:14 
AnswerRe: Where can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
.dan.g.15-Sep-02 15:27
professional.dan.g.15-Sep-02 15:27 
GeneralRe: Where can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
Ștefan-Mihai MOGA15-Sep-02 17:58
professionalȘtefan-Mihai MOGA15-Sep-02 17:58 
GeneralRe: Where can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
Mandalay16-Sep-02 3:49
Mandalay16-Sep-02 3:49 
GeneralRe: Where can I find the registry key for the path of the current WebBrowser / EmailReader? Pin
Ștefan-Mihai MOGA16-Sep-02 23:44
professionalȘtefan-Mihai MOGA16-Sep-02 23:44 
GeneralMeasure running time of Consumer - Producer Pin
tongc15-Sep-02 4:50
tongc15-Sep-02 4:50 
GeneralRe: Measure running time of Consumer - Producer Pin
valikac15-Sep-02 5:59
valikac15-Sep-02 5:59 
GeneralRe: Measure running time of Consumer - Producer Pin
Anonymous15-Sep-02 21:37
Anonymous15-Sep-02 21:37 
GeneralRe: Measure running time of Consumer - Producer Pin
Mike Nordell16-Sep-02 0:30
Mike Nordell16-Sep-02 0:30 
GeneralRe: Measure running time of Consumer - Producer Pin
valikac16-Sep-02 11:09
valikac16-Sep-02 11:09 
Generalm_ctrEditLocation.ReplaceSel Using String Resource Pin
MJ3215-Sep-02 2:15
MJ3215-Sep-02 2:15 
GeneralRe: m_ctrEditLocation.ReplaceSel Using String Resource Pin
Pavel Klocek15-Sep-02 2:22
Pavel Klocek15-Sep-02 2:22 
GeneralRe: m_ctrEditLocation.ReplaceSel Using String Resource Pin
Gary R. Wheeler15-Sep-02 2:29
Gary R. Wheeler15-Sep-02 2:29 
GeneralOutputting Text into An Edit Control Pin
MJ3215-Sep-02 1:09
MJ3215-Sep-02 1:09 
GeneralRe: Outputting Text into An Edit Control Pin
Pavel Klocek15-Sep-02 1:12
Pavel Klocek15-Sep-02 1:12 

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.