{"id":167,"date":"2018-04-25T22:38:04","date_gmt":"2018-04-25T16:38:04","guid":{"rendered":"https:\/\/qtvz.com\/?p=167"},"modified":"2018-04-25T22:38:04","modified_gmt":"2018-04-25T16:38:04","slug":"run-time-check-failure-0-the-value-of-esp-was-not-properly-saved-across-a-function-call-this-is-usually-a-result-of-calling-a-function-declared-with-one-calling-convention-with-a-function-pointer","status":"publish","type":"post","link":"https:\/\/qtvz.com\/167.html","title":{"rendered":"Run-Time Check Failure #0 &#8211; The value of ESP was not properly saved across a function call.  This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention."},"content":{"rendered":"<p>\u52a8\u6001\u8c03\u7528dll\u51fd\u6570\u7684\u65f6\u5019\uff0c\u63d0\u793aRun-Time Check Failure #0 - The value of ESP was not properly saved across a function call. \u00a0\u9519\u8bef:Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call.\u00a0 This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.<\/p>\n<p>\u539f\u56e0\uff1a\u56e0\u4e3a\u8c03\u7528\u7684dll\u91c7\u7528\u7684\u662f_stdcall\u8c03\u7528\u65b9\u5f0f\uff0cc++\u9ed8\u8ba4\u662f\u4f7f\u7528\u7684_declspec\u5bfc\u81f4\uff0c<\/p>\n<p>\u4fee\u6539\u6307\u9488\u51fd\u6570\u4e3a_stdcall . typedef int(_stdcall * <a href=\"https:\/\/qtvz.com\/tag\/dll\" class=\"tag-tooltip\" data-toggle=\"tooltip\" title=\"\u67e5\u770b\u66f4\u591a\u5173\u4e8e DLL \u7684\u6587\u7ae0\" target=\"_blank\">DLL<\/a>FUNC)(int ,int);<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"\u52a8\u6001\u8c03\u7528dll\u51fd\u6570\u7684\u65f6\u5019\uff0c\u63d0\u793aRun-Time Check Failure #0 &#8211; The value of ESP was not properly saved across a function \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[54],"views":31242,"_links":{"self":[{"href":"https:\/\/qtvz.com\/api\/wp\/v2\/posts\/167"}],"collection":[{"href":"https:\/\/qtvz.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qtvz.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/comments?post=167"}],"version-history":[{"count":1,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/posts\/167\/revisions"}],"predecessor-version":[{"id":168,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/posts\/167\/revisions\/168"}],"wp:attachment":[{"href":"https:\/\/qtvz.com\/api\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qtvz.com\/api\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}