张志峰的博客

水滴石川,积少成多。

导航

2013年9月16日

摘要: 在执行程序的时候总是提示:---------------------------Debugger Exception Notification---------------------------Project PrintErp.exe raised exception class EVariantTypeCastError with message '无法将变量从类型 (String) 转换为类型 (Double)。'. Process stopped. Use Step or Run to continue.---------------------------OK Hel 阅读全文

posted @ 2013-09-16 16:50 ╰★张志峰★╮ 阅读(1125) 评论(0) 推荐(0)

摘要: 如果Resume不能唤起线程,请试试如下的函数,试试。GetExitCodeThread(ThreadHandle,ExitCode)来取得ExitCode,如果ExitCode=STILL_ACTIVE表示线程还存在,对于存在的线程,则可以使用ResumeThread(ThreadHandle)来唤醒线程,如果线程仍然处于运行状态,则会返回错误具体的自己去看相关的API的返回值。本人在实际应用中还是没能够解决上面问题,只好委曲找到另一种解决方法。procedure TfrmDataExchangePlatformMain.ActionStartServiceExecute( Sender: 阅读全文

posted @ 2013-09-16 16:04 ╰★张志峰★╮ 阅读(3837) 评论(0) 推荐(0)