Error message when running DSharp example

I installed all the Dsharp packages in Delphi XE. But when I run this example, I always get the following error message:

Exception: Patch: ObjAuto.GetTypeSize failed. Have you set a breakpoint in the method?

Has anyone found a workaround for this error?

enter image description here

+4
source share
1 answer

The library attempts to apply a run-time code fix to fix a defect in the RTL function ObjAuto.GetTypeSize. The code that does this can be seen here: https://bitbucket.org/sglienke/dsharp/src/ad7c5983505f0117f1347f92d2bb96c07bdfda94/Source/Core/ObjAutoPatch.pas?at=master&fileviewer=file-view-default

FindMethodBytes . , , , . , .

, . . :

  • ​​ . , .
  • RTL. - .
  • , .
  • DCU, DCU.
  • DSharp . , , Delphi RTL. . , Delphi, Stefan. , , , . , ( ), .

- , . , . , , . , , .

, , , .

+6

Source: https://habr.com/ru/post/1618213/


All Articles