contains the same path as the next ShellExecute statement that does work.
Do I have a dumb mistake that I am missing?
void CDBcalcDlg::OnHelp()
{
char szAppPath[MAX_PATH] = "";
CString strAppDirectory;
::GetModuleFileName(0, szAppPath, sizeof(szAppPath) - 1);
// Extract directory
strAppDirectory = szAppPath;
strAppDirectory = strAppDirectory.Left(strAppDirectory.ReverseFind('\\'));
ShellExecute(hWnd, _T("open"), _T("C:\\ strAppDirectory\\dBcalc.chm"),NULL, NULL, SW_SHOWNORMAL);
ShellExecute(hWnd, _T("open"), _T("C:\\Users\\Clay\\Documents\\Visual Studio 2005
\\Projects\\Chm_dBcalc\\dBcalc\\Debug\\dBcalc.chm"),NULL, NULL, SW_SHOWNORMAL);
}