I want to create a dll that will contain a dialog box class and export it for use in another application. I thought I would start simple and build on it. So I created a MFC AppWizard(dll) and setup a plain looking dialog box. I then added a "AFX_EXT_CLASS" to the app class that was created by the wizard like so:
AFX_EXT_CLASS class CHTTPpostApp : public CWinApp
this gives compile warnings:
warning C4091: '__declspec(dllimport ) ' : ignored on left of 'class CHTTPpostApp' when no variable is declared
so I tried:
class AFX_EXT_CLASS CHTTPpostApp : public CWinApp
which gave all kinds of warnings and error msgs
Can someone tell me how to export a dialog box and its functionality to an exe? Maybe show me the changes that you need to make to an appwizard generated dll so that I have a simple starting point.
Dialogs (1) modal - maintaining the database.
Continuing from the ninth article about sudoku.
You might have heard of modal and modeless dialogs. Here with this Sudoku application will we use one of each type: a modal dialog …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard.
The reason is the 'save box mode' in adobe reader X.
Many people think the protected Mode of adobe reader x is only to stop the write access.
But this fe…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…