i have converted my project to OCC 6.7.1. It has worked well with OCC 6.5.5
Now i have a crash if my program is closed.
Here is the Call Stack:
> TKDraw.dll!Tcl_ExternalToUtfDString(Tcl_Encoding_ * encoding, const char * src, int srcLen, Tcl_DString * dstPtr) Line 1128 + 0xd bytes C
TKDraw.dll!TclpFindVariable(const char * name, int * lengthPtr) Line 677 + 0x17 bytes C
TKDraw.dll!TclGetEnv(const char * name, Tcl_DString * valuePtr) Line 479 + 0x12 bytes C
TKDraw.dll!TclFullFinalizationRequested() Line 733 + 0x11 bytes C
TKDraw.dll!Tcl_Exit(int status) Line 957 + 0x5 bytes C
TKDraw.dll!Draw_Interpretor::Destroy() Line 643 + 0x7 bytes C++
TKDraw.dll!Draw_Interpretor::~Draw_Interpretor() Line 125 + 0xa bytes C++
TKDraw.dll!`dynamic atexit destructor for 'theCommands''() + 0x21 bytes C++
TKDraw.dll!_CRT_INIT(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 415 C
TKDraw.dll!__DllMainCRTStartup(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 526 + 0x13 bytes C
TKDraw.dll!_DllMainCRTStartup(void * hDllHandle, unsigned long dwReason, void * lpreserved) Line 477 C
encoding and systemEncoding are NULL. src is "ADVISOR_XE_2013_DIR=C:\Program Files (x86)\Intel\Advisor XE 2013\"
I have tried different Tcl versions and i have compiled Tcl by my own. But there is always the same crash.
It crashes in release and debug mode.
How can i avoid this crash?
I am using windows 7 64-bit + VS2010.
Thanks in advance