e****r 发帖数: 166 | 1 how to submit the form content as an email by html? thanks
(not cgi). |
l*x 发帖数: 14021 | 2 Check out this example:
http://www.cpd.mq.edu.au/boomerang/teaching.www/javamail.htm
【在 e****r 的大作中提到】 : how to submit the form content as an email by html? thanks : (not cgi).
|
d*****r 发帖数: 18 | 3 Is there a kinf of XML Parser can be used for both
Windows2000
and Linux? Thanks, |
s******n 发帖数: 22 | 4 java....
【在 d*****r 的大作中提到】 : Is there a kinf of XML Parser can be used for both : Windows2000 : and Linux? Thanks,
|
d*****r 发帖数: 18 | 5 Is there any such parser for C ?
【在 s******n 的大作中提到】 : java....
|
w******g 发帖数: 67 | 6 yes
【在 d*****r 的大作中提到】 : Is there any such parser for C ?
|
d*****r 发帖数: 18 | 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
|
a*****a 发帖数: 438 | 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,
|
d*****r 发帖数: 18 | 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.
|
a*****a 发帖数: 438 | 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?
|
|
|
d*****r 发帖数: 18 | 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
|
a*****a 发帖数: 438 | 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!
|
d*****r 发帖数: 18 | 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;
|
a*****a 发帖数: 438 | 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,
|
a*****a 发帖数: 438 | 15 got confirmation:
MSXML3.0 |
d*****r 发帖数: 18 | 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. |