Re: [xml] Help Required



I assume you mean Visual C++ 6.0, not one of the newer .NET ones.
Yip that's correct. VC++ 6.00. 

Forgive me for asking the obvious: did you add libxml2.lib to the
"Object/library modules" field of the Link tab of the Project Settings
dialog?
Yip it certainly has been added. See my setting with the reply to GORKA.

The "resource file section" sounds like the wrong place to add a
library. Similarly, the location of libxml2's headers should be in the
"Additional include directories" field of the Preprocessor section of
the C/C++ tab, not the "Additional resource include directories" field
of the Resources tab.

You are probably correct. However let me throw a spanner in the works. I
have the production application setup this way. This was done by
previous C/C++ developer. And this works. I have setup everything the
same as the production applications settings. But no luck!!

If that's what you meant you did, then I don't know what the problem
is
(although I do find it odd that xmlFree seems to be listed as a DLL
import while the others aren't).

I am glad you mentioned this. Because I was wondering the same thing.
Why
Would the application look for a DLL call (for a lack of a better desc)
instead. __imp__xmlFree seems odd when comparing to the others. I
certainly don't understand why this is.

Regards

Xen



-----Original Message-----
From: Tim Van Holder [mailto:tim vanholder anubex com] 
Sent: 01 March 2007 01:50
To: Xen Cloete
Cc: xml gnome org
Subject: Re: [xml] Help Required

Xen Cloete wrote:
To all,

I have been struggling for more than a day trying to get the library
to
work on my machine. I am running XP with the Microsoft Visual C++
Enterprise Edition.

I assume you mean Visual C++ 6.0, not one of the newer .NET ones.

To not waste anybody's time I will get right to the point.

I have included in the Libxml2.lib file in the "resource file section"
of the IDE. The path to the directories for this library has been
correctly pointed to in this section.  However when I compile the
program I get the following error messages:

Forgive me for asking the obvious: did you add libxml2.lib to the
"Object/library modules" field of the Link tab of the Project Settings
dialog? The "resource file section" sounds like the wrong place to add a
library. Similarly, the location of libxml2's headers should be in the
"Additional include directories" field of the Preprocessor section of
the C/C++ tab, not the "Additional resource include directories" field
of the Resources tab.
If that's what you meant you did, then I don't know what the problem is
(although I do find it odd that xmlFree seems to be listed as a DLL
import while the others aren't).

"Hollard is a licensed Financial Services Provider (FSP) as defined in
the Financial Advisory and Intermediary Services Act (FAIS). FAIS
requires that anyone who makes any recommendation, guidance or
proposal
of a financial nature must be a duly authorised representative of a
licensed FSP. If you are seeking financial advice, or if you feel that
this email constitutes financial advice, or if the author of this
email
wants you to purchase, amend or cancel a policy, please check with the
author that he/she is a registered representative of Hollard."

This email and all content are subject to the following disclaimer:

"http://www.hollard.co.za/legal/disclaimer.htm";

Such disclaimers are rarely appropriate for lists like these; try to
avoid including them.








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]