Creating a MFC "Static" Dill
-
I have various Processes that are used in many of my programs. I want to put those Processes into "dills" so that I can load those dills when the User selects one in a program. This would illuminate the need to re-create the same processes in each program. The dills would need to contain it's own resources since they contain dialogs(the processes) and the program would not know in advance the resources. Is this possible? If so are there any tutorials on this subject using MFC? Thanks in advance.
A C++ programming language novice, but striving to learn
-
I have various Processes that are used in many of my programs. I want to put those Processes into "dills" so that I can load those dills when the User selects one in a program. This would illuminate the need to re-create the same processes in each program. The dills would need to contain it's own resources since they contain dialogs(the processes) and the program would not know in advance the resources. Is this possible? If so are there any tutorials on this subject using MFC? Thanks in advance.
A C++ programming language novice, but striving to learn
Sounds like you need to develop a plug-in architecture[^]. There are several articles here on codeproject which tarket plug-ins[^]. Best Wishes, -David Delaune
-
Sounds like you need to develop a plug-in architecture[^]. There are several articles here on codeproject which tarket plug-ins[^]. Best Wishes, -David Delaune
I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.? Since I don't know C#, or use the #include <windows.h> (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.
A C++ programming language novice, but striving to learn
-
I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.? Since I don't know C#, or use the #include <windows.h> (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.
A C++ programming language novice, but striving to learn
Larry Mills Sr wrote:
I checked out some DILL articles. Nowhere is it explained whether a DILL can contain it's own resources. Can someone explain whether your DILL can contain Dialogs; and if so how can this be provided for linkage in a program.?
Absolutely, you can add dialogs to a resource DLL. In fact a DLL doesn't even need to have code, it can contain resources only. Creating a Resource-Only DLL[^] Codeproject Resource-Only DLL[^]
Larry Mills Sr wrote:
Since I don't know C#, or use the #include (because I use MFC exclusively), the articles you provided are useless to me. Thanks anyway.
I should have been more specific, I will try harder in the future. Let me see if I can find a C++ plugin framework that will work with MFC using the link I provided: http://www.codeproject.com/info/search.aspx?artkw=plugin[^] Oh wow... the first link goes to a cross-platform plugin implementation: DynObj - C++ Cross Platform Plugin Objects[^] The third link goes to a Win32 implementation and it looks like its using mostly ISO standards. There are many other pages in my codeproject search, I am starting to believe that maybe you didn't even take the time to look. :( Btw, you can use the 'Advanced filter' at the top to filter out C# and other language/platform articles. Best Wishes, -David Delaune