请问关于函数AfxParseURL()的问题,用起来和msdn里说得不太一样
mali1 2002-10-25 12:01:04 BOOL AFXAPI AfxParseURL( LPCTSTR pstrURL, DWORD& dwServiceType, CString& strServer, CString& strObject, INTERNET_PORT& nPort );
为什么我每次用这个函数总是把端口nPort给归到strObject里面去。比如pstrURL="http://www.csdn.net/index.html:80",则运行函数结果是strObject却是"/index.html:80",理论上应该是"/index.html"。不知为什么,请用过这个函数的朋友帮帮忙。谢了。