diff options
author | davygrvy <davygrvy@pobox.com> | 2003-09-08 20:03:13 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-09-08 20:03:13 (GMT) |
commit | 6edc4f4df5682157147c21b1a507e8f99f8b2bdf (patch) | |
tree | 30ccdd55f2cf7a68a8541c44ec2ccec8782fc158 | |
parent | ac3d4764abf19684ea77077c731bc3f0dc67c603 (diff) | |
download | tcl-6edc4f4df5682157147c21b1a507e8f99f8b2bdf.zip tcl-6edc4f4df5682157147c21b1a507e8f99f8b2bdf.tar.gz tcl-6edc4f4df5682157147c21b1a507e8f99f8b2bdf.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.
-rw-r--r-- | win/tclWinLoad.c | 4 |
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: |