STDMETHODIMP
CMyInterface::getdata_template6( /*[in]*/ BSTR bstrOne, /*[in]*/ IXMLDOMDocument
idocTwo, /*[out,retval]*/ IXMLDOMDocument *idocThree)
i have tried importing the DLL. i keep getting error midl2025 when i compile (in
the app .IDL file).
with ADO, you have to import the dll, declare the structs for the objects you
need, blah blah blah. do i have to do the same for the IDOMDocument?
STDMETHODIMP
CMyInterface::getdata_template6( /*[in]*/ BSTR bstrOne, /*[in]*/
IXMLDOMDocument *idocTwo, /*[out,retval]*/ IXMLDOMDocument **idocThree);
--
With best wishes,
Igor Tandetnik
"debuke" <deb...@att.net> wrote in message
news:597c01c07c26$5fbc20a0$46862ecf@cpmsftngxa06...
.
i have done this already (importing the dll), yet the compile error still occurs.
.
"debuke" <deb...@att.net> wrote in message
news:240f01c07cb0$ae1d2d90$34862ecf@cpmsftngxa05...
[id(8), helpstring("method getdata_template7")] HRESULT getdata_template7([in]
BSTR bstrString, [in] IXMLDOMDocument *idocTemplate, [out,retval] IXMLDOMDocument
**idocReturn);
in my stdafx.h, i have included :
#include "Gram.h"
#import "msxml.dll"
using namespace MSXML;
..
.
c:\XML\MyApp.idl(25) : error MIDL2025 : syntax error : expecting a type
specification near "IXMLDOMDocument"
...
..
.
importlib(msxml.dll);
inside your library block.
You already have a number of importlib statements, generated by wizard. Add
the above to the list.
--
With best wishes,
Igor Tandetnik
"debuke" <deb...@att.net> wrote in message
news:952501c07ccd$7989fc80$33862ecf@cpmsftngxa04...
importlib(msxml.dll);
inside your library block.
...
..
.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnic...@geocities.com
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"debuke" <deb...@att.net> wrote in message
news:259601c07ce1$1551c4a0$34862ecf@cpmsftngxa05...
thanks all for the help!!!
btw, i didn't have to declare "importlib(msxml.dll);"
importlib(msxml.dll);
inside your library block.
....
...
..
.