If I want to pass the arguments : 4999, 61 and 301
When debugging I only have 301 ?
I overloadad the funtion ParseParam
In my InitInstance I have the following code:
void CCustomCommandLineInfo::ParseParam(const TCHAR* pszParam, BOOL bFlag, BOOL bLast)
if (lstrcmp(pszParam, _T("Batch")) == 0)
m_bBatch = true;
m_nIDEn = _wtoi(pszParam);
else if (m_csIDVer.IsEmpty())
m_nIDVer = _wtoi(pszParam);
else if (m_csIDComp.IsEmpty())
m_nIDComp = _wtoi(pszParam);
CCommandLineInfo::ParseParam(pszParam, bFlag, bLast);
When debuggin I have :cmdInfo.m_nIDEn = 301 and the others are in the dash
m_nVer = cmdInfo.m_nIDVer;
m_nComp = cmdInfo.m_nIDComp;
Mn_En = cmdInfo.m_nIDEn;
Whow can I pass more than one arguments ?
Thank you very much
Ok thanks I resolve my problem
I Have to call .exe from a externel application and It works now
Next time you should also consider posting this on the windows board, too (Too as in you should also make the consideration, not too as in you should multi-post--Sorry but I do think I should make that perfectly clear).