Hello everyone from novice,
Attempts to create executable with functionality of COM server.
The problem: ATL project (simple), executable with MFC shared dll option. It works fine until i've tried to attach file "afxext.h" (CToolBar, CModelessDialog). It gives the error: compiler demands to use ATL dll with shared MFC attached. It works in this case in fact. But this means that i will have to create simple executable starter for new dll with complicated form to use it independently from container. As i suppose this is not the best solution in this case.
Remark: if to create executable as MFC project with specifications of support MFC and needed coclass it refuses to attach it by "CoCreateInstance" to container or gives an error about redeclaration of 'extern "C" WINAPI _tWinMain' in MFC.
If you have any links with code clauses useful in this case or have any other ideas, i will really appreciate it.
Thank you in advance
Attempts to create executable with functionality of COM server.
The problem: ATL project (simple), executable with MFC shared dll option. It works fine until i've tried to attach file "afxext.h" (CToolBar, CModelessDialog). It gives the error: compiler demands to use ATL dll with shared MFC attached. It works in this case in fact. But this means that i will have to create simple executable starter for new dll with complicated form to use it independently from container. As i suppose this is not the best solution in this case.
Remark: if to create executable as MFC project with specifications of support MFC and needed coclass it refuses to attach it by "CoCreateInstance" to container or gives an error about redeclaration of 'extern "C" WINAPI _tWinMain' in MFC.
If you have any links with code clauses useful in this case or have any other ideas, i will really appreciate it.
Thank you in advance