summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy@noemail.net>2003-09-08 20:03:13 (GMT)
committerdavygrvy <davygrvy@noemail.net>2003-09-08 20:03:13 (GMT)
commit6e7c6ea54e85696690b0adb7cca7eafd869f2f08 (patch)
tree30ccdd55f2cf7a68a8541c44ec2ccec8782fc158
parentee19a3e4ea1c4f91a84b41acdf4be67697ed64a3 (diff)
downloadtcl-6e7c6ea54e85696690b0adb7cca7eafd869f2f08.zip
tcl-6e7c6ea54e85696690b0adb7cca7eafd869f2f08.tar.gz
tcl-6e7c6ea54e85696690b0adb7cca7eafd869f2f08.tar.bz2
* 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
-rw-r--r--win/tclWinLoad.c4
1 files 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: