MSXML Parser Support 

|
|
David Peacock
Adelaide, South Australia
|
|
I'm developing an application in BCB6 in which I am storing application data in XML form. The read/write access requirements of the application are very simple (local disk access, uncomplicated data).
I am taking advantage of the availability of the TXMLDocument/IXMLDocument interface to the MSXML parser and this works great on most machines (but not all). I seem to have difficulty successfully installing the MSXML parser on particular machines (MSXML, MSXML2, MSXML3).
In cases where the parser has been installed properly, calling the 'LoadFromFile' method throws an EAccessViolation for reasons that are difficult to determine.
I cannot find much information that is either useful or relevent on the subject.
Has anyone had similar experiences with this sort of problem ? Is there a suitable alternative to the MSXML parser ?
|
|
Posted 24 years ago (Thread Starter)
|
|
| About David Peacock |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #8091, 4 replies
Thread Started 10/28/2002 12:42:00 PM
View Counter=8016
Last Reply Posted 1/12/2003 8:15:00 PM)
|
|
|
|
Location=Adelaide, South Australia
|
|
 |
|
|
|
Sandman
|
Not to sure if this applies ? This is for a zipping error ; But it meets the 'BCB6' and 'EAccessViolation'. Exception: EAccessViolation: Access violation In the majority of the cases a outdated version of comctrl32.dll . Install the least needed version of the 1x1-CD or it might be: 'Microsoft Internet Explorer'. This problem concerns only users of Windows 95. (I HOPE, I've got it right ?) 
|
|
Posted 24 years ago
|
|
| About Sandman |
|
Inactive member.
Member does not subscribe to this thread.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #8650 (Level 1.1)
Reply to 8091
Thread Started 12/14/2002 9:41:00 AM
View Counter=2
|
|
|
|
Location=Northern Ca.
|
|
 |
|
|
Ken Seymour
Sacramento, California (USA)
|
|
I used the MSXML parser a lot at my last job. It is a COM component and as such may be used by any language that supports COM (e.g. C++, Visual Basic, Delphi, Perl, Python, etc.). It is also faster than most of the other XML parsers I have used.
There are a lot of versions of it and Internet Explorer comes bundled with some version. Perhaps the problem you are having has to do with whether or not IE is installed on the system and what version of IE/MSXML is already there.
In general, it should be OK to install a newer version of MSXML on top of the older one.
|
|
Posted 24 years ago
|
|
| About Ken Seymour |
|
Approved member.
Member subscribes to this thread with a verified email.
Post ID #8133 (Level 1.2)
Reply to 8091
Reply Posted 10/31/2002 9:09:00 AM
|
|
|
|
Location=Sacramento, California (USA)
|
|
 |
|
|
David Peacock
Adelaide, South Australia
|
|
Thanks for your reply Ken.
Yes, MSXML.DLL versions 1 & 2 come bundled with IE (in fact it appears that's the only way to install them). Versions 3 onwards can be independently of IE.
I am trying to develop a package that can be deployed without too many dependencies. I also am not too sure how to reference the different versions of the parser (which can coexist in a system) from the classes I am using in BCB.
If there is anything more you can offer I'd be interested to hear.
|
|
Posted 24 years ago (Thread Starter)
|
|
| About David Peacock |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #8137 (Level 1.3)
Reply to 8091
Reply Posted 10/31/2002 12:59:00 PM
|
|
|
|
Location=Adelaide, South Australia
|
|
 |
Most Recent Post
|
|
David Peacock
Adelaide, South Australia
|
|
Thanks for your help Sandman.
Since then I have written a C++ object to read/write my simple XML files. I created a series of classes to mimic the operation of TXMLDocument and then plugged it all into my application replacing the MSXML stuff.
It worked like a treat, did not take long to write and I have not worried about the problem since. Besides, the overhead is much smaller.
Thanks again.
|
|
Posted 23 years ago (Thread Starter)
|
|
| About David Peacock |
|
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
|
Email Not Verified!
Once email is verified, we will review and approve the account.
|
|
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
|
Post ID #8900 (Level 1.4)
Reply to 8091
Reply Posted 1/12/2003 8:15:00 PM
|
|
|
|
Location=Adelaide, South Australia
|
|
Revive Thread!
Add a comment to revive this old thread and make this archived thread more useful.
| Thread #8091 Counter |
| 8016 |
|
Since 4/2/2008
|
|
|