what's the problem of the follow code segment?
///////////////////////////////////////////
CTempDlg *pDlg;
pDlg = new CTempDlg;
pDlg->Create(IDD_TEMP); <------ run time error
///////////////////////////////////////////
during installion I've added the desktop interactive option
///////////////////////////////////////////
SC_HANDLE hService = ::CreateService(
hSCM, m_szServiceName, m_szServiceName, SERVICE_ALL_ACCESS,
SERVICE_WIN32_OWN_PROCESS|SERVICE_INTERACTIVE_PROCESS,
SERVICE_DEMAND_START, SERVICE_ERROR_NORMAL,
szFilePath, NULL, NULL, _T("RPCSS\0"), NULL, NULL);
///////////////////////////////////////////