Click here to Skip to main content
16,005,241 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOpening a Dialog Window By clicking a hyperlink Pin
16-Jun-01 3:21
suss16-Jun-01 3:21 
GeneralRe: Opening a Dialog Window By clicking a hyperlink Pin
Igor Sukhov16-Jun-01 4:11
Igor Sukhov16-Jun-01 4:11 
GeneralOpening a Dialog Window By clicking a hyperlink Pin
16-Jun-01 3:21
suss16-Jun-01 3:21 
Generalvariablehow to convert from int to BSTR Pin
pathi16-Jun-01 0:32
pathi16-Jun-01 0:32 
GeneralRe: variablehow to convert from int to BSTR Pin
16-Jun-01 1:01
suss16-Jun-01 1:01 
GeneralRe: variablehow to convert from int to BSTR Pin
Michael Dunn16-Jun-01 6:47
sitebuilderMichael Dunn16-Jun-01 6:47 
GeneralExporting Dialog Pin
15-Jun-01 23:44
suss15-Jun-01 23:44 
GeneralRe: Exporting Dialog Pin
Tim Deveaux16-Jun-01 3:54
Tim Deveaux16-Jun-01 3:54 
DLL:

Create an MFC extension DLL project with the App wizard.

Include (copy over) your dialog classes, and resources. (you can open the original apps .rc file and drag and drop the dialog templates to your dll projects resource view).

Add AFX_EXT_DLL to the declaration of your CDialog based classes (after the class keyword).

Compile the dll.

APP:

In the apps that will use it, include the now modified (AFX_EXT_DLL) headers for the dialogs and the defines for the resource ids of the dialogs - try not to conflict with any of the existing apps dialog IDs.

Add the dlls lib file to the apps project link settings.

You should be able to work with the classes in your app, as long as it can find the DLL.


GeneralRe: compiler problems Pin
Tim Deveaux16-Jun-01 5:42
Tim Deveaux16-Jun-01 5:42 
GeneralSHBrowseforFolder Pin
prasanthmp42015-Jun-01 21:19
prasanthmp42015-Jun-01 21:19 
GeneralRe: Help me. I'm finding source to play video .dat file Pin
Hadi Rezaee16-Jun-01 5:12
Hadi Rezaee16-Jun-01 5:12 
GeneralRe: FlexGrid Control With MFC Pin
Christian Graus15-Jun-01 18:03
protectorChristian Graus15-Jun-01 18:03 
GeneralRe: FlexGrid Control With MFC Pin
Brad Schroeder16-Jun-01 15:19
Brad Schroeder16-Jun-01 15:19 
GeneralRe: FlexGrid Control With MFC Pin
Christian Graus17-Jun-01 11:27
protectorChristian Graus17-Jun-01 11:27 
GeneralRe: FlexGrid Control With MFC Pin
Brad Schroeder17-Jun-01 12:34
Brad Schroeder17-Jun-01 12:34 
GeneralRe: FlexGrid Control With MFC Pin
l a u r e n15-Jun-01 21:25
l a u r e n15-Jun-01 21:25 
GeneralLoading Files from command line into MSDEV Pin
Joe Woodbury15-Jun-01 15:22
professionalJoe Woodbury15-Jun-01 15:22 
GeneralRe: Loading Files from command line into MSDEV Pin
Ben Burnett15-Jun-01 18:03
Ben Burnett15-Jun-01 18:03 
QuestionCoSetProxyBlanket oddity? Pin
Rhoam15-Jun-01 13:27
Rhoam15-Jun-01 13:27 
AnswerRe: CoSetProxyBlanket oddity? Pin
Igor Sukhov16-Jun-01 3:57
Igor Sukhov16-Jun-01 3:57 
GeneralRe: CoSetProxyBlanket oddity? Pin
Rhoam16-Jun-01 12:27
Rhoam16-Jun-01 12:27 
QuestionHow to test memory leak or resource leak? Pin
15-Jun-01 12:55
suss15-Jun-01 12:55 
AnswerRe: How to test memory leak or resource leak? Pin
Christian Graus15-Jun-01 15:32
protectorChristian Graus15-Jun-01 15:32 
GeneralRe: How to test memory leak or resource leak? Pin
Mukkie16-Jun-01 0:15
Mukkie16-Jun-01 0:15 
GeneralRe: How to test memory leak or resource leak? Pin
Christian Graus16-Jun-01 12:25
protectorChristian Graus16-Jun-01 12:25 

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.