[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference abbott::teamlinks_windows

Title:TeamLinks for Windows
Notice:Kit and ECO locations: See replies to note 8.o note 8.
Moderator:ORION::chayna.zko.dec.com::tamara::eppesAN
Created:Mon Aug 28 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2238
Total number of notes:9650

2020.0. "DLLs on network drive" by BACHUS::CLEVELAND (L'Escargot dans Bruxelles) Mon Mar 03 1997 12:28

A customer has asked the following question, is this possible?


"When a user creates a new file cabinet, the dll points to the windows\system
directory. In office.ini all pointers to CFC.DLLs are to our network (p:\tl27)
We also have a novell drive mapping to that location, so the dlls normally
should be found there. Is there a way to tell Teamlinks that the DLL is on the
network instead of in the windows system directory. (We don't want to install 
the CFC*.DLLs nor XTI*.dlls on the pc's locally, becazuse when an update 
arrives, we would have to upgrade each pc, also in our way of working, we can 
quickly use another version of TL by switching the TL directory on the network.
Our office.ini is copied from the users network home drive to the windows 
directory each time the user starts Teamlinks."

Thanks for any assistance.

Brian 
    
T.RTitleUserPersonal
Name
DateLines
2020.1TLSETUP didn't expect the CFC DLLs to be moved.XANADU::cascobay.zko.dec.com::TAMARA::STJEANBob St.JeanThu Mar 06 1997 14:5632
Brian,

The CFC, XTI and the other TL DLLs that are normally installed in 
the \Windows and \Windows\System directories should work if they
are moved to a network TL directory.  You would have to make sure
that network directory is on the path, which it probably already
is.  The references to the DDLs in Office.ini would have to be
changed.

Other apps might be installing or expecting the TL DLLs to be
in the system directory.  Even TL ECO installs.  So you would have
to make sure there aren't duplicates.

Your problem is that the File Cabinet definition code in TLSETUP
is only expecting the CFC DLLs to be in the \Windows\System
directory.  I just checked the code to verify this.  It's not
smart enough to figure out that the CFC files are not there and 
might be in the TL directory.

For now, I think the user would have to manually edit Office.ini 
to fixup the DLL= path value for any new file cabient or any file 
cabinet whose type was changed.

This part of TL wasn't designed to expect that the DLLs might be
moved.  I don't know if there are other parts of TL that would 
have the same problem.  Enter a PTR and perhaps someone will look 
at it.

Bob



2020.2What about DLL search path ?BACHUS::COLLARTLi p'ti fouineu - Dtn 856-8796Wed Mar 12 1997 14:2228
>
>Other apps might be installing or expecting the TL DLLs to be
>in the system directory.  Even TL ECO installs.  So you would have
>to make sure there aren't duplicates.
>
>Your problem is that the File Cabinet definition code in TLSETUP
>is only expecting the CFC DLLs to be in the \Windows\System
>directory.  I just checked the code to verify this.  It's not
>smart enough to figure out that the CFC files are not there and 
>might be in the TL directory.
>


			Hello Bob,



	I thought a DLL was always called by Windows that will search in well
	defined locations (current directory, Windows directory, Windows\system
	directory and the DOS path).

	Isn't it the case for TLSETUP ? Customer is using Windows 3.1 .


					Thanks for light

					Eric Collart
					MCS Brussels
2020.3XANADU::cascobay.zko.dec.com::TAMARA::STJEANBob St.JeanWed Mar 12 1997 15:4319
Eric,

The problem is that TLSETUP creates a "DLL=<path><CFCSPI.DLL>" for 
each file cabinet  resource section it creates/modifies in Office.ini.
It expects that the CFC SPI DLLs are always in the Windows System 
directory, so for <path> it simply puts the path to that directory.
CFC.DLL then loads the DLL based on this fullpath.

One might argue that CFC.DLL should have alternate means to
locate it's SPI DLLs should the initial load fail.

PTR this if you want it changed someday.  An IPMT isn't really 
appropriate, since this is working as designed.  Unless it's a 
suggestion IPMT.

Bob



2020.4Thanks for clarificationBACHUS::COLLARTLi p'ti fouineu - Dtn 856-8796Thu Mar 13 1997 05:2930

			Hello Bob,


>
>The problem is that TLSETUP creates a "DLL=<path><CFCSPI.DLL>" for 
>each file cabinet  resource section it creates/modifies in Office.ini.
>It expects that the CFC SPI DLLs are always in the Windows System 
>directory, so for <path> it simply puts the path to that directory.
>CFC.DLL then loads the DLL based on this fullpath.
>

	Ok, now problem fully understood...thanks for clarification.


>
>PTR this if you want it changed someday.  An IPMT isn't really 
>appropriate, since this is working as designed.  Unless it's a 
>suggestion IPMT.
>

	OK, we'll do a PTR and report this to customer....



					Thanks for support

					Eric Collart
					MCS Brussels