Home > Back-end >  For help, Delphi writing appear DLL runtime error 216
For help, Delphi writing appear DLL runtime error 216

Time:09-17

Before in the computer, also is the same code, on the computer before the normal operation of the compilation, the compiler on the new computer has been the runtime error 216, how to solve!

CodePudding user response:

http://www.doc88.com/p-6931863412813.html

CodePudding user response:

reference 1st floor xiaocongzhi response:
http://www.doc88.com/p-6931863412813.html

This I tried, useless,

CodePudding user response:

Runtime error 216 is AV, the basic reason is the use of an uninitialized pointer, pointer, or have already released the biggest possibility is the reference resources of multiple cells release order lead to each other, are not shown on some computers, because the cause of the memory allocation, some have to release the memory (such as object instance) has not been reused,

CodePudding user response:

reference DelphiGuy reply: 3/f
runtime error 216 is AV, the basic reason is the use of an uninitialized pointer, pointer, or have already released the biggest possibility is the reference resources of multiple cells release order lead to each other, are not shown on some computers, because the cause of the memory allocation, some have to release the memory (such as object instance) has not been reused,
it should be like this, I remove the SysUtils and the reference Classes after don't make a mistake, but I need to use TThread class, how to solve?

CodePudding user response:

My own solution, knot,

CodePudding user response:

Encountered similar problems, I have no source, the reason is the use of the unit (dcu), internal contain dark pile, it can detect whether installed the Delphi,

CodePudding user response:

  • Related