Tcl Source Code

View Ticket
Login
Ticket UUID: 218396
Title: Loading DLL
Type: Bug Created on: 2000-10-26 00:57:05
Submitter: nobody Assigned to: nobody
Subsystem: 40. Dynamic Loading Severity:
Priority: 2 Last modified: 2001-04-20 02:02:37
Status: Closed Closed by: dgp
Resolution: Fixed Closed on: 2001-04-19 19:02:37
Version: obsolete: 8.3
Description:
OriginalBugID: 5206 Bug
Version: 8.3
SubmitDate: '2000-04-20'
LastModified: '2000-04-20'
Severity: CRIT
Status: Closed
Submitter: techsupp
ChangedBy: hobbs
OS: Windows 95
OSVersion: windows 95
Machine: Pentium 266
FixedDate: '2000-10-25'
ClosedDate: '2000-04-20'


Name:
Danny Yip

ReproducibleScript:
I have ported some C functions to a TCL loadable DLL file using a software tool called SWIG, and I had no problem "loading" the file into Tcl 8.0.5.  However, after switching to 8.2 or 8.3, the Tcl wish shell crashes.  The following is how I loaded the dll file in version 8.0.5:

load hp3771x_tcl.dll hp3771x_tcl



It's possible that the DLL is only compiled for 8.0 and must
be recompiled.  Also, for 8.1+ most uses of Tcl also require
a call to Tcl_FindExecutable before creating an interp (see docs). 
-- 04/20/2000 hobbs