Syntax Error: AddInternalFunctions failed on PixmapToJPEGData Type "TJPEGOptions" not found for parameter "options"
Issue #184
resolved
The latest program found an error: Syntax Error: AddInternalFunctions failed on PixmapToJPEGData
Type "TJPEGOptions" not found for parameter "options".
Tracked, the function RegisterGraphicsTypes in dwsGraphicLibrary.pas registered SYS_TJPEGOptions did not execute, the reason is that the statement in the function: "if systemTable.FindLocal(SYS_PIXMAP) <> nil then Exit;" exited directly
Comments (2)
-
reporter -
repo owner - changed status to resolved
Fixed
#184issue with registrations in dwsGraphicLibrary→ <<cset 45f31c5d8e6f>>
- Log in to comment
Change the last line "unitTable.AddSymbol(jpgOptions);" to "systemTable.AddSymbol(jpgOptions);" in the last line of the RegisterGraphicsTypes function.