Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-17
05:51 • Ticket [218111ffff] base address collisions of tcl81.dll and tk81.dll status... artifact: 181f8556d8 user: dgp
2000-10-26
08:14 • Closed ticket [218111ffff]. artifact: ed7ebd1043 user: welch
00:53 • New ticket [218111ffff]. artifact: d1b692fbfa user: nobody

base address collisions of tcl81.dll and tk81.dll

Closed / Wont Fix218111ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:53:14
OriginalBugID: 1897 RFE
Version: 8.1b3
SubmitDate: '1999-04-19'
LastModified: '1999-12-14'
Severity: LOW
Status: Closed
Submitter: pat
ChangedBy: hobbs
OS: Windows NT
OSVersion: 4.0sp4
Machine: X86
FixedDate: '2000-10-25'
ClosedDate: '1999-12-14'


Name:
David Gravereaux

Comments:
rebasing an already compiled dll can be done with rebase.exe MSSDK
    tool:
    
    C:\MSSDK\bin> rebase -b 12000000 -d c:\progra~1\Tcl\bin\tk81.dll

DesiredBehavior:
The base addresses of the Tcl dlls are the default linker value of
    0x10000000.  This causes a loading collision and takes longer for
    tk81.dll to load into memory on NT as the OS has to rebase "on the fly".
     Win95/98 are not affected and don't have this collision problem.
    Setting optimized base addresses in the *.def files would speed the
    loading of scripts.  The following line at the top of the DEF file would
    work:
    
    LIBRARY tk81.dll BASE=<SomeAddress>
    
    where <SomeAddress> is load address that doesn't cause collisions with
    the other Tcl modules.



This sounds like something we don't want to play with, as the
Tcl library changes over versions.  We don't even use *.def files
anymore for 8.3. 
-- 12/14/1999 hobbs
welch Closed ticket [218111ffff]. [History diff]2000-10-26 08:14:48
dgp Ticket [218111ffff]: 4 changes [History diff]2001-04-17 05:51:30
Log in (anonymous is fine) to add a comment.