在DLL中生成无模式对话框的有关问题

在DLL中生成无模式对话框的问题
我在做Windows   shell扩展编程的时候希望自己的右键菜单点下去弹出一个对话框程序(像WINRAR那样)

我的代码是这样的:
AFX_MANAGE_STATE(AfxGetStaticModuleState(   ));

DlgLogin   DlgLogin1;
DlgLogin1.Create(IDD_DIALOG_LOGIN,   this);
DlgLogin1.ShowWindow(SW_SHOW);

但是在Create这句报错
error   C2664:   'int   __thiscall   CDialog::Create(const   char   *,class   CWnd   *) '   :   cannot   convert   parameter   1   from   'const   int '   to   'const   char   * '
                Conversion   from   integral   type   to   pointer   type   requires   reinterpret_cast,   C-style   cast   or   function-style   cast

请问这是为什么?应该怎么改?


------解决方案--------------------
我建议你不要这样做。。。这样系统会非常不稳定

我建议你用DLL去调用EXE的程序结构去实验这个功能