From 6e7c6ea54e85696690b0adb7cca7eafd869f2f08 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Mon, 8 Sep 2003 20:03:13 +0000 Subject: * win/tclWinLoad.c (TclpDlopen): Changed the error message for ERROR_PROC_NOT_FOUND to be a bit more helpful in giving us clues. "can't find specified procedure" means a function in the import table, for implicit loading, couldn't be resolved and that's why the load failed. FossilOrigin-Name: c14ddbc3bbdf1db986869b00ce3e1d2ffaf84664 --- win/tclWinLoad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win/tclWinLoad.c b/win/tclWinLoad.c index 77b440a..a57223e 100644 --- a/win/tclWinLoad.c +++ b/win/tclWinLoad.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclWinLoad.c,v 1.15 2002/10/10 12:25:53 vincentdarley Exp $ + * RCS: @(#) $Id: tclWinLoad.c,v 1.16 2003/09/08 20:03:13 davygrvy Exp $ */ #include "tclWinInt.h" @@ -104,7 +104,7 @@ TclpDlopen(interp, pathPtr, loadHandle, unloadProcPtr) (char *) NULL); break; case ERROR_PROC_NOT_FOUND: - Tcl_AppendResult(interp, "could not find specified procedure", + Tcl_AppendResult(interp, "A function specified in the import table could not be resolved by the system. Windows is not telling which one, I'm sorry.", (char *) NULL); break; case ERROR_INVALID_DLL: -- cgit v0.12