Ad Space — Top Banner

Delphi

Delphi and Object Pascal errors explained in plain English.
Find your error below for a clear explanation and how to fix it.

Error Codes

ESocketError Delphi Programming ESocketError is raised by Delphi's Indy networking library when a TCP or UDP … Runtime Error 201 Delphi Programming Runtime Error 201 is a range check error — a value or array index fell outside … Runtime Error 202 Delphi Programming Runtime Error 202 means the program's call stack has been exhausted — there is … Runtime Error 203 Delphi Programming Runtime Error 203 means the program tried to allocate memory from the heap and … Runtime Error 204 Delphi Programming Runtime Error 204 means the program tried to free or operate on a pointer that … Runtime Error 205 Delphi Programming Runtime Error 205 is a floating-point overflow — a calculation produced a result … Runtime Error 210 Delphi Programming Runtime Error 210 means your code called a method or accessed a property on an … Runtime Error 215 Delphi Programming Runtime Error 215 is an arithmetic overflow — an integer calculation produced a … Runtime Error 216 Delphi Programming Runtime Error 216 is a General Protection Fault (GPF) — the program tried to … Runtime Error 217 Delphi Programming Runtime Error 217 means an exception was raised during program execution and no … Control Has No Parent Window Delphi Programming Language This error means a VCL windowed control tried to create its Windows HWND handle … Cannot Create Form Delphi Programming Language This error means Application.CreateForm failed during application startup, … Cannot Focus Disabled Control Delphi Programming Language This error occurs when code calls SetFocus on a control that is disabled, … Circular Unit Reference Delphi Programming Language A circular unit reference means Unit A uses Unit B, and Unit B also uses Unit A … Component Not Found Delphi Programming Language This error occurs when Delphi tries to load a DFM file that references a … DLL Load Error Delphi Programming Language A DLL load error means Windows could not load a required DLL — either because it … E2016 Delphi Programming Language E2016 means you used a non-boolean expression where Delphi requires a true/false … E2018 Delphi Programming Language E2018 means you provided a non-integer value in a place that requires an … E2034 Delphi Programming Language E2034 means Delphi cannot automatically convert one type to another in the … E2037 Delphi Programming Language E2037 means you declared a method or function earlier (usually in the interface … E2038 Delphi Programming Language E2038 means Delphi expected a class type in the given context but found a … E2039 Delphi Programming Language E2039 means you declared the same identifier name twice within the same scope, … E2040 Delphi Programming Language E2040 means you used a class, record, or other non-interface type in a place … E2041 Delphi Programming Language E2041 means you tried to assign a value to, or pass as a var parameter, … E2046 Delphi Programming Language E2046 means Delphi found a syntax error because a semicolon is missing where one … E2047 Delphi Programming Language E2047 means Delphi expected to see the BEGIN keyword to open a code block but … E2048 Delphi Programming Language E2048 means the compiler found a BEGIN block that was never closed with the … E2054 Delphi Programming Language E2054 means you called a method or accessed a property that does not exist in … E2055 Delphi Programming Language E2055 means Delphi detected that your function can reach its end without setting … E2057 Delphi Programming Language E2057 means you assigned or passed a constant value that falls outside the … E2062 Delphi Programming Language E2062 means you have an abstract method that must be implemented by a subclass, … E2072 Delphi Programming Language E2072 means you called Create on a class that is abstract — it has one or more … E2082 Delphi Programming Language E2082 means you tried to use a Delphi reserved word (like begin, end, class, … E2089 Delphi Programming Language E2089 means you declared a record, array, or structure that is too large for the … E2094 Delphi Programming Language E2094 means you declared a method with 'override' in a subclass, but the … E2120 Delphi Programming Language E2120 is a variant of 'interface type expected' that occurs specifically around … E2167 Delphi Programming Language E2167 means you wrote 'override' on a method in a subclass, but the same method … E2175 Delphi Programming Language E2175 means you tried to use runtime type information (RTTI) on a type that does … E2196 Delphi Programming Language E2196 means you added the 'virtual' keyword to a constructor declaration, which … E2249 Delphi Programming Language Delphi error E2249 means the compiler could not find an overloaded version of a … E2261 Delphi Programming Language Delphi error E2261 means you tried to raise an object as an exception, but the … EAbstractError Delphi Programming Language EAbstractError is raised when code calls an abstract virtual method that has … EAssertionFailed Delphi Programming Language EAssertionFailed is raised when an Assert() call finds that its condition is … EComponentError Delphi Programming Language EComponentError is raised when a component operation fails — most commonly when … EDivByZero Delphi Programming Language EDivByZero is raised when your code divides an integer by zero at … EFilerError Delphi Programming Language EFilerError is raised when Delphi cannot read or write component data to or from … EIntOverflow Delphi Programming Language EIntOverflow is raised when an integer arithmetic operation produces a result … EInvalidCast Delphi Programming Language EInvalidCast is raised when you try to cast an object to a class it does not … EInvalidOperation Delphi Programming Language EInvalidOperation is raised when you try to perform an operation that is not … EReadError Delphi Programming Language EReadError is raised when Delphi cannot read a component property from a stream … EWriteError Delphi Programming Language EWriteError is raised when Delphi cannot write a component property to a stream … Form Class Not Registered Delphi Programming Language This error means Delphi tried to create a form by its class name but could not … E2033 Delphi Programming Language Error E2033 means you passed a variable to a var parameter in a procedure or … E2064 Delphi Programming Language E2064 means you tried to assign a value to something that cannot be assigned … E2065 Delphi Programming Language E2065 means you declared a function or procedure with the 'forward' keyword but … E2086 Delphi Programming Language E2086 means you are trying to use a type before its definition is … E2251 Delphi Programming Language E2251 means you called an overloaded function and Delphi cannot decide which … EAbort Delphi Programming Language EAbort is a special Delphi exception that is intentionally silent — it aborts an … EAccessViolation Delphi Programming Language EAccessViolation means your program tried to read from or write to a memory … EConvertError Delphi Programming Language EConvertError means a type conversion failed because the value you tried to … EDatabaseError Delphi Programming Language EDatabaseError is the base class for all database-related exceptions in … EExternalException Delphi Programming Language EExternalException is raised when the CPU or operating system signals an error … EFCreateError Delphi Programming Language EFCreateError is raised when Delphi cannot create a file.<br>The full error … EInOutError Delphi Programming Language EInOutError is raised when a file input/output operation fails.<br>This covers … EInvalidPointer Delphi Programming Language EInvalidPointer means your program tried to free or reallocate a memory block … EListError Delphi Programming Language EListError is raised by Delphi list classes (TList, TStringList, TObjectList) … EMathError Delphi Programming Language EMathError is the parent class for floating-point exceptions in Delphi.<br>It … EOSError Delphi Programming Language EOSError is raised when a Windows operating system call fails.<br>Delphi wraps … EOutOfMemory Delphi Programming Language EOutOfMemory means Delphi tried to allocate memory for a new object, array, or … EOverflow Delphi Programming Language EOverflow is a Delphi floating-point exception raised when a calculation … ERangeError Delphi Programming Language ERangeError means a value has gone outside the valid range for its type.<br>For … E2003 Delphi Programming Language Error E2003 means you used a name (a variable, function, type, or unit) that … E2010 Delphi Programming Language Error E2010 means you tried to assign a value, pass an argument, or perform an … E2015 Delphi Programming Language Error E2015 means you used an operator (like +, -, *, /, =, <, >) on a type that … E2029 Delphi Programming Language Error E2029 means Delphi's compiler expected to find a valid identifier (a name) … E2035 Delphi Programming Language Error E2035 means you called a procedure or function but did not pass all the … E2036 Delphi Programming Language Error E2036 means Delphi expected a variable at a specific point in your code, … E2066 Delphi Programming Language Error E2066 means Delphi found the end of a statement without the semicolon it … E2147 Delphi Programming Language Error E2147 means you tried to use a variable or type in an inline assembly … EStackOverflow Delphi Programming Language EStackOverflow means your program used up all the memory on the call … EThread Delphi Programming Language EThread is raised when something goes wrong with a TThread object in … EUnderflow Delphi Programming Language EUnderflow is a floating-point exception raised when a calculation produces a … EVariantError Delphi Programming Language EVariantError means an operation on a Variant type failed.<br>A Variant is a …