I.T. Discussion Community!
-Collapse +Expand
Industry
Search Industry Group:

Advanced
-Collapse +Expand Industry Store

Prestwood eMagazine

December Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyComputer Industry BoardComputer Industry News & Trends Topic   Print This     

MSXML Parser Support

MSXML Parser Support in Computer Industry News & Trends topic (part of our Computer Industry group).

Quick Search: Support   MSXML Parser   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 17 years ago (Thread Starter)
Comment Quote
About David Peacock -Collapse +Expand
Visit Profile
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=6671
Last Reply Posted 1/12/2003 8:15:00 PM)
Location=Adelaide, South Australia  
Joined=17 years ago   MB Posts=6  
Sandman
 (Inactive)
Northern Ca.
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 ?) Roll Eyes
 Posted 17 years ago
Comment Quote
About Sandman -Collapse +Expand
Visit Profile
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.  
Joined=17 years ago   MB Posts=23  
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 17 years ago
Comment Quote
About Ken Seymour -Collapse +Expand
Visit Profile
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)  
Joined=17 years ago   MB Posts=6   KB Comments=3  
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 17 years ago (Thread Starter)
Comment Quote
About David Peacock -Collapse +Expand
Visit Profile
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  
Joined=17 years ago   MB Posts=6  
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 16 years ago (Thread Starter)
Comment Quote
About David Peacock -Collapse +Expand
Visit Profile
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  
Joined=17 years ago   MB Posts=6  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P192A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #8091 Counter
6671
Since 4/2/2008

Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech