Abnormal program termination on shutdown with TRESTClient

前端 未结 1 1503
春和景丽
春和景丽 2021-01-28 03:50

When a program that has a TRESTClient components is shutdown, it will show an \"Abnormal Program Termination\" error.

Recently, we\'ve upgraded a project fr

相关标签:
1条回答
  • 2021-01-28 04:19

    This is fixed as of 10.3.2: https://stackoverflow.com/a/56195297/6852057

    To fix it in an older version:

    The issue has to do with the link order of two libraries, namely "bindengine.lib" and "bindcomp.lib".

    When "bindcomp.lib" is linked in BEFORE "bindengine.lib" you will see this problem, and for some frustrating reason the IDE insists in placing the them in wrong order. So to resolve the issue.

    1. close your project that shows the problem in the IDE.
    2. load the project's .cbproj into a text editor (HINT: NOT the IDE)
    3. search for the "" tag.
    4. switch the position of the two libs "...;bindengine.lib;bindcomp.lib;... " so as to have the "bindengine" BEFORE "bindcomp".
    5. repeat the process for any other "" (as you might have more than one configuration)
    6. repeat 3. to 5. for the tag ""
    7. save the project file.
    8. open it in the IDE and Build OR Clean and Make the project again. So that the EXE gets re-linked.
    0 讨论(0)
提交回复
热议问题