10-23-2011, 07:06 AM
Then probably thread that called OpenDevice or KitInit must be running all the time.
dialog:
mac "kit_thread"
Function kit_thread:
KitInit
atend KitInit 1
wait -1
For kit_thread check "Allow only single instance".
Or, let the dialog run all the time. Instead of closing - hide. Next time, if dialog exists, show it.
Or try this:
DisableThreadLibraryCalls GetModuleHandle("K8055D")
Then the dll will not know that the thread ended.
dialog:
mac "kit_thread"
Function kit_thread:
KitInit
atend KitInit 1
wait -1
For kit_thread check "Allow only single instance".
Or, let the dialog run all the time. Instead of closing - hide. Next time, if dialog exists, show it.
Or try this:
DisableThreadLibraryCalls GetModuleHandle("K8055D")
Then the dll will not know that the thread ended.