View previous topic :: View next topic |
Author |
Message |
MERO
Joined: 25 Apr 2006 Posts: 41 Location: Wuerzburg, Germany
|
Posted: Thu Sep 14, 2006 3:25 am Post subject: Reference file problem |
|
|
I have a problem using Plato + Winteracter
I have to define two references files
a ) winter.lib
b ) winspool.drv
When linking : a) has to be before b)
I modified the .ftn95p file by hand so that a) is before b)
Anyway for some reason Plato changes this order again to b) a) which givs me
the following linker errors
WARNING the following symbols are missing:
OpenPrinterA C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)
DocumentPropertiesA C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)
ClosePrinter C:wintlib.s95winter.lib (/25237 )
(D:WINTOBJS95WDUMP.OBJ)
How can I solve this problem ?
regards
Klaus Knebel |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Thu Sep 14, 2006 6:50 am Post subject: Reference file problem |
|
|
Klaus
Maybe the short term workaround is to change the name of the file from winter.lib to xwinter.lib.
Plato3 is presumably picking up the dictionary order from the treeview. |
|
Back to top |
|
|
MERO
Joined: 25 Apr 2006 Posts: 41 Location: Wuerzburg, Germany
|
Posted: Thu Sep 14, 2006 7:09 am Post subject: Reference file problem |
|
|
Thanks
I tried awinter.lib (instead of winter.lib) because I want it to be the first one.
But still in the projekt file awinter.lib is after winspool.drv
Also in the treeview it is first.
Maybe it has to do with the ending .lib and .drv ?
Klaus
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Thu Sep 14, 2006 10:05 am Post subject: Reference file problem |
|
|
Klaus
I will look inside Plato3 as soon as I can.
In the mean time you can either:
a) continue to make a manual change to the ini file and try to avoid changing the project settings (they are only saved after a change has been made), or
b) use a manual build process (using SLINK directly). |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Thu Sep 14, 2006 3:55 pm Post subject: Reference file problem |
|
|
Klaus
I have fixed this problem for the next release.
The list of references was being reversed with every session where properties were being saved. |
|
Back to top |
|
|
MERO
Joined: 25 Apr 2006 Posts: 41 Location: Wuerzburg, Germany
|
Posted: Fri Sep 15, 2006 1:40 am Post subject: Reference file problem |
|
|
Paul
Thank you
Klaus |
|
Back to top |
|
|
MERO
Joined: 25 Apr 2006 Posts: 41 Location: Wuerzburg, Germany
|
Posted: Thu Jan 11, 2007 10:45 am Post subject: |
|
|
Hi
Is this fixed in the current Plato Version (3.41) ?
Can I define in which order the references are called ?
Klaus |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Thu Jan 11, 2007 1:30 pm Post subject: |
|
|
Klaus
It is fixed in the version released with FTN95 v5.01, whatever that is.
Paul |
|
Back to top |
|
|
MERO
Joined: 25 Apr 2006 Posts: 41 Location: Wuerzburg, Germany
|
Posted: Thu Jan 11, 2007 2:59 pm Post subject: |
|
|
Paul
THKS
But still my question :
How can I set the order of the reference calls ?
Is it alphabetically ?
or is it the order that the references are defined ?
How to change the order ? (by editing the projekt file by hand)
Klaus |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Fri Jan 12, 2007 7:27 pm Post subject: |
|
|
The references are now applied in the natural order in which they are added to the project (this may not be the same order as they appear in the Project Explorer window).
If the order is not correct then you can edit the project.ftn95p file but now it should only be necessary to do this once. The order in this file should be the natural order that you want the linker to use. |
|
Back to top |
|
|
|