-----Original Message-----
From: Samar Abbas Lotia [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 10:35 AM
To: '[EMAIL PROTECTED]'
Subject: Renaming Xalan DLLs (Win32)


> We foresee a need to ship our product with a privately named
> version of the Xalan libraries and I'm wondering if
> people have tried to do this before.

I've done it. It's a particularly tedious job to do. I assume that you are
using MS Visual Studio. Follow these steps:

1. Open Project->Settings
2. Choose "Settings For:" to Release.
3. Click the "Link" tab.
4. Choose one of the dll projects from the tree view control.
5. Change "Output file name:" (the name of the output DLL) to whatever you
want (although I recommend you keep the original path.)
6. Repeat 4-5 for all other dll projects.
7. For debugging, choose "Settings For:" to Debug, and repeat steps 3-6.
8. Close the Project Settings dialog.

It's not fun, but it gets the job done; the dependencies between the
projects help link them up. Once linked, you can use the modified Xalan dlls
as you would the normal dlls.

I tried writing a program to automatically correct the .dsp files this way -
but it would only clean up half of them.  This lead to more trouble than
it's worth.

Regards,
Peter.

Reply via email to