Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 468e31ca00e6aed1abe0edb705d02497e9ea0ffb
Ticket: 217993ffffffffffffffffffffffffffffffffff
load dll returning invalid argument
User & Date: nobody on 2000-10-26 00:51:46
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 608 Bug
    Version: 8.1a2
    SubmitDate: '1998-05-21'
    LastModified: '1999-10-21'
    Severity: LOW
    Status: Closed
    Submitter: hershey
    ChangedBy: hobbs
    OS: All Windows
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '1999-10-21'
    
    
    Has anyone any experience with problems loading DLLs under Wish?
    Here are the facts:
    
    Under Tcl/Tk ver 81a2:
    
      % load x.dll  (no error)
      % load y.dll
      couldn't load file "x.dll": invalid argument
    
      Both load properly on 3 other Win 95 stations running 80p2
    
    Thought it problem with new 81a2 so I:
    
      Uninstalled 81a2
      Installed 80p2  in C:\Tcl80p2
      Installed 81a2  in C:\Tcl81a2
    
    Could now run both Wish versions concurrently.
    
      Now the behaviour is:
    
      In 80p2:  % load x.dll  (no error)
                % load y.dll
                couldn't load file "y.dll": invalid argument
    
      In 81a2:  % load x.dll
    
                Windows displays "This program has performed an illegal
                                  operation and will be shut down."
                                  (Invalid page fault)
    
      In 81a2:  % load y.dll
                couldn't load file "y.dll": invalid argument
    
    Gussing a conflict of some kind I:
    
      Un-Installed 80p2
      Un-Installed 81a2
      Installed 80p2
    
    Behaviour of 80p2 is unchanged, I cannot load the y.dll.
    
    The DLLs in question are from the NeoSoft archive. I have not used their
    actual names or sources since I believe they are irrelevant. 
    
    Does anyone have any suggestions (before I resort to fdisk, which
    completely removes ALL types of errors.)
    
    Bob Halpin
    
    
    This could be related to the fact that the DLL are not
    being loaded into the correct version of which for which
    they were compiled.  This can cause that error.  Also
    possible, is that they should be referenced with a relative
    or absolute pathname (./x.dll or /path/to/x.dll).
    The specific DLLs are important, and without that information,
    we have to assume this is DLL specific. 
    -- 10/21/1999 hobbs
    
  4. foundin changed to: "obsolete: 8.1a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to: "load dll returning invalid argument"
  11. type changed to: "Bug"