Import Tcl 8.6.11
This commit is contained in:
@@ -79,7 +79,7 @@ static DWORD ddeInstance; /* The application instance handle given to us
|
||||
* by DdeInitialize. */
|
||||
static int ddeIsServer = 0;
|
||||
|
||||
#define TCL_DDE_VERSION "1.4.2"
|
||||
#define TCL_DDE_VERSION "1.4.3"
|
||||
#define TCL_DDE_PACKAGE_NAME "dde"
|
||||
#define TCL_DDE_SERVICE_NAME L"TclEval"
|
||||
#define TCL_DDE_EXECUTE_RESULT L"$TCLEVAL$EXECUTE$RESULT"
|
||||
@@ -251,7 +251,7 @@ Initialize(void)
|
||||
if (ddeInstance == 0) {
|
||||
Tcl_MutexLock(&ddeMutex);
|
||||
if (ddeInstance == 0) {
|
||||
if (DdeInitializeW(&ddeInstance, (PFNCALLBACK) DdeServerProc,
|
||||
if (DdeInitializeW(&ddeInstance, (PFNCALLBACK)(void *)DdeServerProc,
|
||||
CBF_SKIP_REGISTRATIONS | CBF_SKIP_UNREGISTRATIONS
|
||||
| CBF_FAIL_POKES, 0) != DMLERR_NO_ERROR) {
|
||||
ddeInstance = 0;
|
||||
|
||||
Reference in New Issue
Block a user