Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 70d8d3a9ac0595a95624c93a1fbc5e37e595835a
Ticket: 611108ffffffffffffffffffffffffffffffffff
LD_LIBRARY_PATH no longer used
User & Date: vincentdarley on 2002-09-19 15:59:36
Changes

  1. icomment:
    Logged In: YES 
    user_id=32170
    
    Take a look at tclWinLoad.c which shows you how you 
    can do this:
    
        char *fileName = Tcl_GetString(pathPtr);
        nativeName = Tcl_WinUtfToTChar(fileName, -1, &ds);
        handle = (*tclWinProcs->loadLibraryProc)
    (nativeName);
    
    just use 'Tcl_GetString' and a manual 'Tcl_UtfToExternal' 
    conversion inside TclpDlopen for .  Alternatively, if you 
    simply use pkgIndex.tcl files to load your extensions, 
    you won't run into this problem at all.
    
    
    
  2. login: "vincentdarley"
  3. mimetype: "text/plain"
  4. username: "vincentdarley"