Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Write Readed Values

From: "Leandro Delamare" <lhdelamare@---.---.-->
To: NULL
Date: 3/1/2005 3:34:00 PM
Ok, Thanks
Works Fine ;)
Regards
Leo
"liscerq" <liscerq@g...> wrote in message 
news:1109688820.992448.74420@z......
> Hi again,
>
> In fact the property:
>    pXMLNode->text;     [sorry, before i mentioned it as a function]
> and the function:
>    pXMLNode->get_text(&bstrText);
> should work... so if in your program it doesn't I am lead to think that
> there is a conflict with msxml versions...
>
> Issue 1:
> -----------
> How do you include the msxml library in your project?
> I would say you should do something like:
>
> //*** XML DOM Document ***//
> #import "msxml4.dll"
> using namespace MSXML2;
>
> Issue 2:
> -----------
> I was now pasting your code into one project that i have and i got
> errors like (for which i made a correction):
>
> line:
>   hr = pPlaylist->load(varFile, &bIsSuccessful);
> error:
>   error C2660: 'load' : function does not take 2 parameters for the
> line
> correction:
>   bIsSuccessful = pPlaylist->load(varFile);
>
>
> line:
>   hr = pPlaylist->getElementsByTagName(bstrName, &pXMLNodeList);
> error:
>   error C2660: 'getElementsByTagName' : function does not take 2
> parameters
> correction:
>   *pXMLNodeList = pPlaylist->getElementsByTagName(bstrName.m_str);
>
> So making the include i described in "Issue 1" and the corrections i
> described in "Issue2" i got the project compiling. I would suggest you
> to look for more information about compatibilities of msxml libraries
> (what you have installed in your computer).
>
> One more hint that might be usefull: in Visual Studio, right click on
> getElementsByTagName and select "Go to definition of
> getElementsByTagName" and see which file is opened (for me is the
> msxml4.dll file opened).
>
> Sorry but i can't find a better explanation.
> Elisabete.
> 




transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent