| Revision 689,
501 bytes
checked in by lowjoel, 5 years ago
(diff) |
|
Move CEraserCtxMenuApp to the header; we need it to get the module instance handle (the Afx* functions return NULL?)
|
| Line | |
|---|
| 1 | // dllmain.h : Declaration of module class. |
|---|
| 2 | |
|---|
| 3 | class CEraserCtxMenuModule : public CAtlDllModuleT< CEraserCtxMenuModule > |
|---|
| 4 | { |
|---|
| 5 | public : |
|---|
| 6 | DECLARE_LIBID(LIBID_EraserCtxMenuLib) |
|---|
| 7 | DECLARE_REGISTRY_APPID_RESOURCEID(IDR_ERASERCTXMENU, "{92BDCDEA-D98E-49C2-9851-A4AD15B847EA}") |
|---|
| 8 | }; |
|---|
| 9 | |
|---|
| 10 | class CEraserCtxMenuApp : public CWinApp |
|---|
| 11 | { |
|---|
| 12 | public: |
|---|
| 13 | virtual BOOL InitInstance(); |
|---|
| 14 | virtual int ExitInstance(); |
|---|
| 15 | |
|---|
| 16 | DECLARE_MESSAGE_MAP() |
|---|
| 17 | }; |
|---|
| 18 | |
|---|
| 19 | extern CEraserCtxMenuModule _AtlModule; |
|---|
| 20 | extern CEraserCtxMenuApp theApp; |
|---|
Note: See
TracBrowser
for help on using the repository browser.