I am beginner with COM. Currently I am trying to write a COM server(*.EXE) to receive messages from other process. So, I plan to create a hidden dialog for my COM server.
I just created a ATL Dialog class using VS2010 and the "Add class wizzard".
class CMyDlg:
public CAxDialogImpl<CTestDialog>
After initialized
CMyDlg dlg;
dlg.DoModal();
It just hang on every thing.
Then I changed another method
CMyDlg dlg;
dlg.Create(NULL);
dlg.ShowWindow(SW_SHOW);
Nothing happened! Just an error code: 1813. That means The specified resource type cannot be found in the image file.
I can't understand why this happen?
The Dialog resource was created by the wizzard.
I searched from google and some forum for the whole 2 day, nothing was found.
Could you please give me some idea?
Thanks!
Gordon