IDownloadManager in VB

24/01/2005 - 17:37 por .:: MaStErDoN ::. | Informe spam
Hi! I just want to know if there is some way of "translating" this C++ code
to Vb.NET or C#??
// This is the custom download manager implementation for Internet Explorer
6 or later.
// In the .h file of the COM DLL.
#include "downloadmgr.h"
STDMETHOD(Download)(IMoniker* pmk,
IBindCtx* pbc,
DWORD dwBindVerb,
LONG grfBINDF,
BINDINFO* pBindInfo,
LPCOLESTR pszHeaders,
LPCOLESTR pszRedir,
UINT uiCP );
// In the .cpp file.
STDMETHODIMP CDownload::Download(IMoniker* pmk,
IBindCtx* pbc,
DWORD dwBindVerb,
LONG grfBINDF,
BINDINFO* pBindInfo,
LPCOLESTR pszHeaders,
LPCOLESTR pszRedir,
UINT uiCP )
{
::MessageBox(NULL,"Download","Download Manager",MB_OK);
return S_OK;
}thanks a lotAndres
 

Leer las respuestas

#1 .:: MaStErDoN ::.
24/01/2005 - 17:41 | Informe spam
Disculpen creia que estaba en el foro de ingles..
Pues eso.. como prodria hacer el pasaje del codigo del post de arriba de C++
a VB.NET o C#???

Gracias
Andres

Preguntas similares