Click here to Skip to main content
15,909,822 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionNT I/O Port access !? Is it easy? Pin
Behzad Ebrahimi10-Mar-03 6:29
Behzad Ebrahimi10-Mar-03 6:29 
AnswerRe: NT I/O Port access !? Is it easy? Pin
Tim Smith10-Mar-03 6:40
Tim Smith10-Mar-03 6:40 
GeneralPassing Strings to and from VB via a dll Pin
dazinith10-Mar-03 6:18
dazinith10-Mar-03 6:18 
GeneralRe: Passing Strings to and from VB via a dll Pin
AlexO10-Mar-03 6:29
AlexO10-Mar-03 6:29 
GeneralRe: Passing Strings to and from VB via a dll Pin
dazinith10-Mar-03 7:27
dazinith10-Mar-03 7:27 
GeneralRe: Passing Strings to and from VB via a dll Pin
Brian Shifrin10-Mar-03 8:58
Brian Shifrin10-Mar-03 8:58 
GeneralRe: Passing Strings to and from VB via a dll Pin
dazinith10-Mar-03 7:51
dazinith10-Mar-03 7:51 
GeneralCDialog from a MFC dll... Pin
RobJones10-Mar-03 6:09
RobJones10-Mar-03 6:09 
Hello,
I have never tried to load a dialog box from a dll.. I have created a Static MFC DLL and created a dialog within the dll.. I used this to export the class hoping that this would allow me to use the dialog..
class AFX_EXT_CLASS CSettingsDlg : public CDialog
{
public:
	CSettingsDlg();
	~CSettingsDlg();

// Dialog Data
	//{{AFX_DATA(CSettingsDlg)
	enum { IDD = IDD_SETTINGS }; <------HERE
	//}}AFX_DATA

..... BLAH BLAH


The problem is when I add the .lib, .h and dll to the other application and try to compile it I get an error on this line..

enum { IDD = IDD_SETTINGS }; <--

Any ideas?

Rob



Whoever said nothing's impossible never tried slamming a revolving door!
GeneralRe: CDialog from a MFC dll... Pin
Bill Gates Antimatter Particle10-Mar-03 6:35
Bill Gates Antimatter Particle10-Mar-03 6:35 
GeneralRe: CDialog from a MFC dll... Pin
Alvaro Mendez10-Mar-03 7:36
Alvaro Mendez10-Mar-03 7:36 
GeneralChange menu name on run-time Pin
whofmans10-Mar-03 5:55
whofmans10-Mar-03 5:55 
GeneralRe: Change menu name on run-time Pin
RobJones10-Mar-03 6:16
RobJones10-Mar-03 6:16 
GeneralThanks! I have used it for language translation Pin
whofmans10-Mar-03 23:47
whofmans10-Mar-03 23:47 
GeneralThanks! I have used it for language translation Pin
whofmans10-Mar-03 23:51
whofmans10-Mar-03 23:51 
GeneralThanks! I have used it for language translation Pin
whofmans10-Mar-03 23:56
whofmans10-Mar-03 23:56 
GeneralRe: Change menu name on run-time Pin
Renjith Ramachandran10-Mar-03 7:49
Renjith Ramachandran10-Mar-03 7:49 
Generalnew comer Pin
Mr. Andrea10-Mar-03 5:16
Mr. Andrea10-Mar-03 5:16 
GeneralRe: new comer Pin
Maximilien10-Mar-03 5:29
Maximilien10-Mar-03 5:29 
GeneralRe: new comer Pin
Alvaro Mendez10-Mar-03 7:37
Alvaro Mendez10-Mar-03 7:37 
Generalsave increment filenames... Pin
macmac3810-Mar-03 5:10
macmac3810-Mar-03 5:10 
GeneralRe: save increment filenames... Pin
Maximilien10-Mar-03 5:24
Maximilien10-Mar-03 5:24 
GeneralRe: save increment filenames... Pin
Renjith Ramachandran10-Mar-03 7:54
Renjith Ramachandran10-Mar-03 7:54 
GeneralAdding icons to an imagelist that is used in a listctrl Pin
Jochem10-Mar-03 5:01
Jochem10-Mar-03 5:01 
GeneralRe: Adding icons to an imagelist that is used in a listctrl Pin
RobJones10-Mar-03 6:27
RobJones10-Mar-03 6:27 
GeneralRe: Adding icons to an imagelist that is used in a listctrl Pin
Jochem11-Mar-03 1:15
Jochem11-Mar-03 1:15 

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.