473,761 Members | 5,848 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problems porting a program from one computer to another. MSXML version?

OKI
Hi.

I´ve made a XML parser using MSXML2.LIB in a computer. When i´ve tried
to run it in another one like that:

HRESULT hr = CoCreateInstanc e(CLSID_DOMDocu ment, NULL,
CLSCTX_INPROC_S ERVER, IID_IXMLDOMDocu ment, (void **)&(this->xmlDoc));

the result is:

hr = -2147221164 (Class not registered)

I think it could be a problem with MSXML versions in the two
computers. In the first one I have the following libraries in
Windows\System3 2, msxml.dll, msxml3.dll, msxml3a.dll, msxml3r.dll,
msxmlr.dll. In the second one all I have is msxml.dll (different from
the first one) and msxmlr.dll.

Both computers have installed Windows2000.

If this is the problem, how can I know which MSXML version do I have?
I´ve tried some ASP sniffers but in the second computer I haven´t
internet connection.

I'd appreciate some help from you.

Thanks in advance.
Jul 20 '05 #1
1 3159
Check out and compare the prog Id's of the two different computers (for
MSXML) in the registry. They should be different. In that case your code a)
either has to handle this b) or throw up an error saying it requires the
latest version of MSXML.
The appropriate forum for this is in MSDEV and not here..
"OKI" <al***********@ hotmail.com> wrote in message
news:54******** *************** ***@posting.goo gle.com...
Hi.

I´ve made a XML parser using MSXML2.LIB in a computer. When i´ve tried
to run it in another one like that:

HRESULT hr = CoCreateInstanc e(CLSID_DOMDocu ment, NULL,
CLSCTX_INPROC_S ERVER, IID_IXMLDOMDocu ment, (void **)&(this->xmlDoc));

the result is:

hr = -2147221164 (Class not registered)

I think it could be a problem with MSXML versions in the two
computers. In the first one I have the following libraries in
Windows\System3 2, msxml.dll, msxml3.dll, msxml3a.dll, msxml3r.dll,
msxmlr.dll. In the second one all I have is msxml.dll (different from
the first one) and msxmlr.dll.

Both computers have installed Windows2000.

If this is the problem, how can I know which MSXML version do I have?
I´ve tried some ASP sniffers but in the second computer I haven´t
internet connection.

I'd appreciate some help from you.

Thanks in advance.

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

20
2236
by: Lucas Raab | last post by:
I'm done porting the C code, but now when running the script I continually run into problems with lists. I tried appending and extending the lists, but with no avail. Any help is much appreciated Please see both the Python and C code at http://home.earthlink.net/~lvraab. The two files are ENIGMA.C and engima.py TIA
5
1922
by: Buchleitner Martin | last post by:
Hi! I got another problem parsing my XML document: <document> <paragraph> <style val=listing/> <text>listing #1 text</text> </paragraph> <paragraph>
22
3608
by: edgrsprj | last post by:
PROPOSED EARTHQUAKE FORECASTING COMPUTER PROGRAM DEVELOPMENT EFFORT Posted July 11, 2005 My main earthquake forecasting Web page is: http://www.freewebz.com/eq-forecasting/Data.html Newsgroup Readers: If you circulate copies of this report to groups of computer programmers at different universities etc. around the world then they might find the subject matter to be interesting.
1
1471
by: Robin Charisse | last post by:
Hi, I have a VC++6 project that uses msxml to parse XML documents. I have been asked to port this to a .NET project but from the research I've done so far it looks as though the only way to do this is to rewrite the project from scratch in C#. Time is at a premium and given that I have no prior experience of either C# or Visual Studio .NET, this is not an acceptable solution. Is there any other way of doing this without wholesale code...
4
3536
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The objective in utilizing this new deployment method is to reduce the maintenance overhead as well as making it easier for my users to setup and run the application initially. I have VS 2002, Windows XP, Access XP(2000 format). He is my problem....
0
12087
by: sonu | last post by:
I have following client side code which i have used in my asp.net project SummaryFeatured Resources from the IBM Business Values Solution Center WHITEPAPER : CRM Done Right Improve the likelihood of CRM success from less than 20 percent to 60 percent. WHITEPAPER :
8
2696
by: per9000 | last post by:
Dear readers, I have some problems with strong keys. What I want to do is basically this. A - create an application (f.x. strongHello.dll) with a strong key. B - import the functions of this dll into a console application (f.x StrongConsoleApp.exe) and run it if I have somehow specified the public part of the strong key and not otherwise.
3
70205
by: Sharon | last post by:
How can I find what MSXML version I have installed? -- Thanks Sharon
3
3550
by: balakrishnan.dinesh | last post by:
hi frnds How to determine the version of the MSXML installed on a computer and How to determine the version of the MSXML used by Internet Explorer through javascript code. Can anyone say me , Is there any way to find this thing ? Waiting for ur quick response
0
9522
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9336
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9948
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9902
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8770
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7327
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6603
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5364
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.