Skip to main content
Participating Frequently
February 17, 2010
Question

How to register a DLL used by Framemaker

  • February 17, 2010
  • 2 replies
  • 1698 views

Hi all,

I have a trouble with an installation of a structured framemaker XML DTD.

This DTD (I will call it application from now on) has been written by a customer of mine to automatically create publications from an XML file, but now, after having moved the application to a new machine, I am not able to make it working any more.

This application uses a DLL to extract datas from the XML file and save it after having "manipulated" (it creates general indexes and an alphanumerical index to be put at the end of the publication).

The Framemaker version used is 7.0

My questions are:

1 - can be a problem if Framemaker has been moved from a Win2k machine with english OS to a WinXp Pro one with german OS?

This question is made because Framemaker does not re format automatically the document and if I apply the command "Apply Master Pages" manually, it does not work

2 - how can I register the DLL and make the application working again on the new PC?

The question #1 applies only for an installation on the new German OS machine

Question 2 applies for both an installation on Framemaker 7.0 and 7.2 (OS indipendently)

The steps I have performed in order to move the application are:

1 - copy the directory with the DTD and all the informations (templates, rules, etc)  in the "$STRUCTDIR\xml" directory (the file contained are: edd.fm, 3 template to be used for the different sections of the book, rules.fm, one DTD file and one DLL file)

2 - added the application to the structapps.fm file copying the data from the old file to the new one

Many thanx

Flavio

This topic has been closed for replies.

2 replies

Participating Frequently
February 19, 2010

Many thanx to Russ Ward...

Even if he has not been able to find the correct problem (for obvious reasons) he has been able to create a trace for me to find it..

Thanx again

Brainiac
February 17, 2010

Hi Flavio,

I don't mean to be simplistic here, but have you made sure that all the paths related to your application are correct on the new computer? Generally speaking, structured applications should work on different installations, but there is a possibility that installation paths have changed. In the application definition in structapps.fm, did you make absolutely sure that every path is still correct, after pasting from the old file?

Russ

Participating Frequently
February 17, 2010

As you can see, I have used the absolute path

$STRUCTDIR\xml\directoryforapplication\filename

which should point to the correct path.

Isn't it?

From what you know, is there any path written in the fm files contained in the program directory?

Flavio

Brainiac
February 17, 2010

Flavio,

This assumes that the $STRUCTDIR variable is properly set, which it should be. You might want to make sure, though. It's just an FM variable like any other.

If all the application files are correctly located in "directoryforapplication," then this begins to get more complicated. Are you having problems while opening an XML document, or while saving one? In an XML file, the path to your DTD is likely specified somewhere near the beginning and this could cause a problem if the path points to a place on your old computer. If you are having trouble opening an XML file, look at the beginning of it in a text editor to see if it references a DTD or schema that doesn't exists. If this turns out to be the case, I think you will need to manually edit that path before FM will accept the file.

There could be other possibilities too. It is difficult to troubleshoot problems like this from a distance, so I'm just throwing a few things out here and there, hoping to get lucky.

Russ