Difference between revisions of "RunError"

From Free Pascal wiki
Jump to navigationJump to search
m (Fixed typos)
Line 1: Line 1:
A '''RunError''' is a low-level error emitted by the freepascal [[RTL|Run Time Library]]. In Lazarus runerrors are raised as [[Exceptions|exception]].
+
A '''RunError''' is a low-level error emitted by the Free Pascal [[RTL|Run Time Library]]. In Lazarus, RunErrors are raised as [[Exceptions|exceptions]].
  
 
[[File:runerror232.png]]
 
[[File:runerror232.png]]
  
RunError(232) reports missing cThreads unit.  
+
RunError(232) reports missing cThreads unit. Add {$define UseCThreads} in the top of the first Pascal unit (usually the project .lpr file)
Add {$define UseCThreads} in the top of the first pascal unit (usually the project .lpr file)
 
  
 
==See also==
 
==See also==
* [http://www.freepascal.org/docs-html/user/userap4.html list of runerrors]
+
* [http://www.freepascal.org/docs-html/user/userap4.html List of Run-time errors]

Revision as of 13:56, 12 July 2020

A RunError is a low-level error emitted by the Free Pascal Run Time Library. In Lazarus, RunErrors are raised as exceptions.

runerror232.png

RunError(232) reports missing cThreads unit. Add {$define UseCThreads} in the top of the first Pascal unit (usually the project .lpr file)

See also