How to load a cgi URL which have meaning only from a certain parent URL
Posted on 2004-04-18
I'm working in C++.
I'm using "CreateURLMoniker(m_LastMoniker, wszURL, &pMk))) "
to download an html to my computer.
The problem is that there is a site whcih contains a cgi that is working
on from a certain url.
I tried to code something like this (notice the m_LastMoniker):
CreateURLMoniker(0, parentURL, &m_LastMoniker)))
hr = m_pMSHTML->QueryInterface(IID_IPersistMoniker, (LPVOID*)&pPMk)
hr = pPMk->Load(FALSE, pMk, pBCtx, STGM_READ);
//code for waiting until the page is loaded & then operating this line (with m_LastMoniker):
CreateURLMoniker(m_LastMoniker, cgiURL, &pMk)))
but it doesn't work !!!
any solution ?