在isapi中以下url怎么映射参数?
http://localhost/Test.dll/dosomething?Onlyatesthere
我知道标准语法如下:
http://localhost/Test.dll?dosomething?Onlyatesthere
可是,我现在就要用"/",原来的程序delphi的。不知怎么改!
我添加映射部分
ON_PARSE_COMMAND(dosomething, CTestExtension, ITS_PSTR)
ON_PARSE_COMMAND_PARAMS("string")
void CTestExtension::Url(CHttpServerContext* pCtxt, LPCTSTR pstr1)
{
*pCtxt << pCtxt->m_pECB->lpszQueryString ;
*pCtxt << "|";
*pCtxt << pstr1;
}