avatar
e*r
1
how to submit the form content as an email by html? thanks
(not cgi).
avatar
d*r
3
Is there a kinf of XML Parser can be used for both
Windows2000
and Linux? Thanks,
avatar
s*n
4
java....

【在 d*****r 的大作中提到】
: Is there a kinf of XML Parser can be used for both
: Windows2000
: and Linux? Thanks,

avatar
d*r
5
Is there any such parser for C ?

【在 s******n 的大作中提到】
: java....
avatar
w*g
6
yes

【在 d*****r 的大作中提到】
: Is there any such parser for C ?
avatar
d*r
7
Can you tell me where I can download it?
I only find the XML parser for JAVA or C++, but I need a
parser for c. Thanks,

【在 w******g 的大作中提到】
: yes
avatar
a*a
8
If you can't use VC++, you can still use MSXML30.dll as
parser for C.
Just use LoadLibrary("msxml30.dll") and then call its
method.

【在 d*****r 的大作中提到】
: Can you tell me where I can download it?
: I only find the XML parser for JAVA or C++, but I need a
: parser for c. Thanks,

avatar
d*r
9
Thanks.
I checked it yesterday but I am not sure I know how
to use it. What do you mean that I can call its method?
It sounds that I need to use classes and methods instead of
several independent functions, right?

【在 a*****a 的大作中提到】
: If you can't use VC++, you can still use MSXML30.dll as
: parser for C.
: Just use LoadLibrary("msxml30.dll") and then call its
: method.

avatar
a*a
10
oh my error.. you are right.
there's no way you do use msxml30.dll in native C. :( sorry

【在 d*****r 的大作中提到】
: Thanks.
: I checked it yesterday but I am not sure I know how
: to use it. What do you mean that I can call its method?
: It sounds that I need to use classes and methods instead of
: several independent functions, right?

avatar
d*r
11
You don't need to feel sorry about it.:) In fact, if I
can't find another better parser, I have to use this one.
But I don't know how to use the methods.
I am not good at C. I have tried to use it in this way:
struct IXMLDOMDocument *pDoc;
pDoc->createNode();
But it sounds wrong. If you used it before, can you just
show
me a simple example? Thank you very much!

【在 a*****a 的大作中提到】
: oh my error.. you are right.
: there's no way you do use msxml30.dll in native C. :( sorry

avatar
a*a
12
In VC60,
#import "msxml.dll"
using namespace MSXML;
int main()
{
CoInitialize(NULL);
_try {
IXMLDOMDocumentPtr
pXMLDOMDocument(__uuidof(IXMLDOMDocument));
pXMLDOMDocument->async = false;
if (!pXMLDOMDocument->load("test.xml")) {
// error
}
// process
} catch (_come_error& e)
{
// com error
}
CoUninitialize();
return 0;
}


【在 d*****r 的大作中提到】
: You don't need to feel sorry about it.:) In fact, if I
: can't find another better parser, I have to use this one.
: But I don't know how to use the methods.
: I am not good at C. I have tried to use it in this way:
: struct IXMLDOMDocument *pDoc;
: pDoc->createNode();
: But it sounds wrong. If you used it before, can you just
: show
: me a simple example? Thank you very much!

avatar
d*r
13
If I don't use VC, can I use it? I remember that you
mentioned
that I can use it without using VC.
Thanks,

【在 a*****a 的大作中提到】
: In VC60,
: #import "msxml.dll"
: using namespace MSXML;
: int main()
: {
: CoInitialize(NULL);
: _try {
: IXMLDOMDocumentPtr
: pXMLDOMDocument(__uuidof(IXMLDOMDocument));
: pXMLDOMDocument->async = false;

avatar
a*a
14
yeah.. you can use VB or Perl (For Win32) =)
MSXML.dll (or msxml30.dll) is a COM object .. so .. you
know..

【在 d*****r 的大作中提到】
: If I don't use VC, can I use it? I remember that you
: mentioned
: that I can use it without using VC.
: Thanks,

avatar
a*a
15
got confirmation:
MSXML3.0
avatar
d*r
16
amnesia, thank you for your help!:)
Now I have to work hard on this xml parser.:(
When I was looking for the parsers, I found one named
"Expat" which
is a C parser. But it's an old parser and not so strong.
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。