Using static library



Hi all,
I have a doubt regarding the building and using of a
static library. i am using ms vc++ 6. I needed a library for reading
the configuration from an xml file. so we decided to make it a static
library using the xerces library. we took the 'win32 static library'
and added the files and built the library.
then we tried to use it in our application and in the
'object/library modules' we added the static library's name and linked
it. but, the linking failed saying that the func.s in the xerces are
undefined.
then we rebuilt the static library after
adding the name of the xerces library in its 'project options' under
the library tab. then everything worked fine.
what i do not understand is that how the
buiding of the static library was successful first time without
resolving the references to the xerces?

Thanks,
Sreehari

.



Relevant Pages

  • Re: Some easy Questions about C#
    ... Your specifics may be different, you may be reading line by line, which is ... B the way if you want to store settings for your application ... you'd probably be better off creating a configuration file...by using ... file, which is nothing but an xml file that can be read easily, using ...
    (microsoft.public.dotnet.languages.csharp)
  • reading .config file
    ... I am reading the above file in C# as follows: ...
    (microsoft.public.dotnet.languages.csharp)
  • [SLE] xinetd
    ... The main trouble I'm having is to get imap running via xinetd. ... Jan 19 17:06:10 able xinetd: Reading included configuration ... Jan 19 17:06:10 able xinetd: removing chargen ...
    (SuSE)
  • Re: ADAMSync not synching
    ... here is the configuration xml file I loaded... ... is just a base W2k3 AD schema that is less relevant that the source AD ... a fresh ADAM install as below it could be that something in your XML config ...
    (microsoft.public.windows.server.active_directory)
  • Re: Collecting multiple element names using grouptag
    ... I have an XML file that I am reading and I am using XML::Simple to ... read the posting guidelines for this group. ...
    (comp.lang.perl.misc)