Unsupported stream format with last update

After upgrading to last version of FNC components I am getting the following error when placing a new FNC component in a new form in a new vcl application using Delphi 11.2:
Unsupported stream format

[6BBF3089]{vcl280.bpl  } Vcl.Graphics.InvalidGraphic (Line 4401, "Vcl.Graphics.pas" + 1) + $E
[6BBF655F]{vcl280.bpl  } Vcl.Graphics.TPicture.LoadFromStream (Line 6117, "Vcl.Graphics.pas" + 9) + $5
[343E046C]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.LoadFromResource (Line 1264, "VCL.TMSFNCTypes.pas" + 7) + $11
[343E03D0]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCTypes.Tmsfnctypes.TTMSFNCBitmapHelper.LoadFromResource (Line 1251, "VCL.TMSFNCTypes.pas" + 1) + $12
[343BEEF4]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCGraphics.Tmsfncgraphics.TTMSFNCGraphics.DrawDropDownButton (Line 1468, "VCL.TMSFNCGraphics.pas" + 53) + $8
[69DC0119]{rtl280.bpl  } System.@AsClass (Line 18502, "System.pas" + 2) + $8
[343C1259]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCGraphics.Tmsfncgraphics.TTMSFNCGraphics.FontChanged (Line 2262, "VCL.TMSFNCGraphics.pas" + 1) + $15
[34399885]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCGraphicsTypes.Tmsfncgraphicstypes.TTMSFNCGraphicsFont.DoChanged (Line 1589, "VCL.TMSFNCGraphicsTypes.pas" + 2) + $9
[343998C9]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCGraphicsTypes.Tmsfncgraphicstypes.TTMSFNCGraphicsFont.Assign (Line 1604, "VCL.TMSFNCGraphicsTypes.pas" + 6) + $6
[4214459C]{VCLTMSFNCUIPackPkgDXE14.bpl} VCL.TMSFNCCustomPicker.Tmsfnccustompicker.TTMSFNCCustomPicker.DrawBackground (Line 850, "VCL.TMSFNCCustomPicker.pas" + 6) + $4D
[3440AD40]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCCustomControl.Tmsfnccustomcontrol.TTMSFNCCustomControl.DrawControl (Line 2422, "VCL.TMSFNCCustomControl.pas" + 28) + $B
[3440AF04]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCCustomControl.Tmsfnccustomcontrol.TTMSFNCCustomControl.Paint (Line 2472, "VCL.TMSFNCCustomControl.pas" + 5) + $5
[6BC238AB]{vcl280.bpl  } Vcl.Controls.TCustomControl.PaintWindow (Line 14670, "Vcl.Controls.pas" + 6) + $5
[6BC1D2B1]{vcl280.bpl  } Vcl.Controls.TWinControl.PaintHandler (Line 10715, "Vcl.Controls.pas" + 4) + $14
[6BC21EAB]{vcl280.bpl  } Vcl.Controls.TWinControl.WMPrintClient (Line 13783, "Vcl.Controls.pas" + 14) + $6
[6BC17F46]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7584, "Vcl.Controls.pas" + 91) + $6
[6BD2BB85]{vcl280.bpl  } Vcl.Themes.{System.Generics.Collections}TDictionary<System.TClass,System.Generics.Collections.TList<Vcl.Themes.TStyleHookClass>>.ContainsKey (Line 7467, "System.Generics.Collections.pas" + 1) + $F
[6BE49A0A]{vcl280.bpl  } Vcl.Styles.TStyleEngine.HandleMessage (Line 3587, "Vcl.Styles.pas" + 8) + $9
[69DC4C0A]{rtl280.bpl  } System.@FinalizeArray (Line 33111, "System.pas" + 80) + $3
[507FC0F9]{TMSMemInsightPkgDXE14.bpl} TMS.MI.MainForm.Mi.Mainform.TProfilerEngineClass.HandleMessage (Line 1025, "TMS.MI.MainForm.pas" + 7) + $1B
[6BD22638]{vcl280.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[6BC1B0CF]{vcl280.bpl  } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9449, "Vcl.Controls.pas" + 0) + $F
[6BC1D0F1]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10631, "Vcl.Controls.pas" + 170) + $6
[6BC17B7C]{vcl280.bpl  } Vcl.Controls.TControl.Perform (Line 7362, "Vcl.Controls.pas" + 10) + $8
[6BC1DB4F]{vcl280.bpl  } Vcl.Controls.TWinControl.WMPaint (Line 10931, "Vcl.Controls.pas" + 19) + $D
[69EB91B2]{rtl280.bpl  } System.Classes.TInterfaceList.GetCount (Line 5685, "System.Classes.pas" + 5) + $9
[6BC23845]{vcl280.bpl  } Vcl.Controls.TCustomControl.WMPaint (Line 14659, "Vcl.Controls.pas" + 2) + $4
[34409F5D]{VCLTMSFNCCorePkgDXE14.bpl} VCL.TMSFNCCustomControl.Tmsfnccustomcontrol.TTMSFNCCustomControlBase.WMPaint (Line 1757, "VCL.TMSFNCCustomControl.pas" + 3) + $6
[69DC02DF]{rtl280.bpl  } System.TObject.Dispatch (Line 18846, "System.pas" + 11) + $0
[6BC17F46]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7584, "Vcl.Controls.pas" + 91) + $6
[69DC02DF]{rtl280.bpl  } System.TObject.Dispatch (Line 18846, "System.pas" + 11) + $0
[6BC17F46]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7584, "Vcl.Controls.pas" + 91) + $6
[6FA81079]{vcldesigner280.bpl} VCLSurface.MouseEvent (Line 3645, "VCLSurface.pas" + 75) + $11
[6FA8108E]{vcldesigner280.bpl} VCLSurface.MouseEvent (Line 3649, "VCLSurface.pas" + 79) + $10
[69DC02DF]{rtl280.bpl  } System.TObject.Dispatch (Line 18846, "System.pas" + 11) + $0
[6BC17F46]{vcl280.bpl  } Vcl.Controls.TControl.WndProc (Line 7584, "Vcl.Controls.pas" + 91) + $6
[69DBFF56]{rtl280.bpl  } System.TObject.GetInterface (Line 18385, "System.pas" + 7) + $9
[69DC8960]{rtl280.bpl  } System.@IntfClear (Line 38608, "System.pas" + 10) + $0
[69DC4C0A]{rtl280.bpl  } System.@FinalizeArray (Line 33111, "System.pas" + 80) + $3
[507FC0F9]{TMSMemInsightPkgDXE14.bpl} TMS.MI.MainForm.Mi.Mainform.TProfilerEngineClass.HandleMessage (Line 1025, "TMS.MI.MainForm.pas" + 7) + $1B
[69DBFF56]{rtl280.bpl  } System.TObject.GetInterface (Line 18385, "System.pas" + 7) + $9
[69DC8960]{rtl280.bpl  } System.@IntfClear (Line 38608, "System.pas" + 10) + $0
[69DC4C0A]{rtl280.bpl  } System.@FinalizeArray (Line 33111, "System.pas" + 80) + $3
[507FC0F9]{TMSMemInsightPkgDXE14.bpl} TMS.MI.MainForm.Mi.Mainform.TProfilerEngineClass.HandleMessage (Line 1025, "TMS.MI.MainForm.pas" + 7) + $1B
[6BD22638]{vcl280.bpl  } Vcl.Themes.TStyleManager.HandleMessage (Line 5858, "Vcl.Themes.pas" + 11) + $11
[6BC1B0CF]{vcl280.bpl  } Vcl.Controls.TWinControl.DoHandleStyleMessage (Line 9449, "Vcl.Controls.pas" + 0) + $F
[6BC1D0F1]{vcl280.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10631, "Vcl.Controls.pas" + 170) + $6
[6BC1C5FC]{vcl280.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10308, "Vcl.Controls.pas" + 3) + $6
[69ED580C]{rtl280.bpl  } System.Classes.StdWndProc (Line 18490, "System.Classes.pas" + 8) + $0
[5D0568DA]{CnWizards_D110A.DLL} Unknown function at __dbk_fcall_wrapper + $64BC2
[6BD6428F]{vcl280.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11460, "Vcl.Forms.pas" + 23) + $1
[6BD642D2]{vcl280.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11490, "Vcl.Forms.pas" + 1) + $4
[6BD64611]{vcl280.bpl  } Vcl.Forms.TApplication.Run (Line 11629, "Vcl.Forms.pas" + 27) + $3
[00308082]{bds.exe     } bds.bds (Line 227, "" + 16) + $2

Which component exactly? Did you download and install the latest version of TMS VCL UI Pack as well?

FNCcombobox

Tested here, new TTMSFNCComboBox is no problem. Latest version of TMS FNC UI Pack & TMS FNC Core.

I think the problem is the missing image at its right for clicking to open down
εικόνα

  object TMSFNCComboBox1: TTMSFNCComboBox
    Left = 376
    Top = 48
    Width = 150
    Height = 22
    ParentDoubleBuffered = False
    DoubleBuffered = True
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -11
    Font.Name = 'Segoe UI'
    Font.Style = []
    TabOrder = 2
    DropDownWidth = 150.000000000000000000
    ItemHeight = 16.000000000000000000
    Text = 'TTMSFNCComboBox'
    ItemAppearance.ShowFocus = False
    ItemAppearance.ExpandColumn = -1
    ItemAppearance.FixedHeight = 16.000000000000000000
    ItemAppearance.VariableMinimumHeight = 25.000000000000000000
    ItemAppearance.ShowLines = False
    ItemAppearance.Font.Charset = DEFAULT_CHARSET
    ItemAppearance.Font.Color = 8026746
    ItemAppearance.Font.Height = -11
    ItemAppearance.Font.Name = 'Segoe UI'
    ItemAppearance.Font.Style = []
    ItemAppearance.TitleFont.Charset = DEFAULT_CHARSET
    ItemAppearance.TitleFont.Color = clBlack
    ItemAppearance.TitleFont.Height = -11
    ItemAppearance.TitleFont.Name = 'Segoe UI'
    ItemAppearance.TitleFont.Style = []
    ItemAppearance.SelectedFontColor = 4539717
    ItemAppearance.ExtendedFontColor = 4539717
    ItemAppearance.SelectedFill.Color = 16578806
    ItemAppearance.SelectedStroke.Color = 15702829
    ItemAppearance.SelectedStroke.Width = 2.000000000000000000
    ItemAppearance.SelectionArea = tsaFull
    ItemAppearance.ExtendedFont.Charset = DEFAULT_CHARSET
    ItemAppearance.ExtendedFont.Color = clWindowText
    ItemAppearance.ExtendedFont.Height = -11
    ItemAppearance.ExtendedFont.Name = 'Segoe UI'
    ItemAppearance.ExtendedFont.Style = []
    ItemAppearance.ExpandNodeIcon.Data = {
      0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000000B00
      00000B080200000026CEE071000000017352474200AECE1CE90000000467414D
      410000B18F0BFC6105000000097048597300000EC300000EC301C76FA8640000
      001874455874536F667477617265007061696E742E6E657420342E302E36FC8C
      63DF000000334944415478DA63ACAEAD66C00B18812A5A9A5A7049D7D4D5A0AB
      F0F6F3DEBA692B8D540025301D01544A6F7710080FFC610A005ADF3FFDA83755
      DB0000000049454E44AE426082}
    ItemAppearance.CollapseNodeIcon.Data = {
      0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000000B00
      00000B080200000026CEE071000000017352474200AECE1CE90000000467414D
      410000B18F0BFC6105000000097048597300000EC300000EC301C76FA8640000
      001874455874536F667477617265007061696E742E6E657420342E302E36FC8C
      63DF0000002C4944415478DA63ACAEAD66C00B18812A5A9A5A7049D7D4D5D05B
      85B79F37B2DCD64D5B07C61DF854E00F53005DBC2DFDD89D52A7000000004945
      4E44AE426082}
    ItemAppearance.ExpandNodeIconLarge.Data = {
      0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001600
      00001608020000004BD6FB6C000000017352474200AECE1CE90000000467414D
      410000B18F0BFC6105000000097048597300000EC300000EC301C76FA8640000
      001874455874536F667477617265007061696E742E6E657420342E302E36FC8C
      63DF000000404944415478DA63ACAEAD66A00C3052CD8896A6163234D7D4D5D0
      C5086F3F6F20B975D3D6512306C40888066200C450DA183138C262D488C1535E
      5002A8600400AA8F7FF987EC13380000000049454E44AE426082}
    ItemAppearance.CollapseNodeIconLarge.Data = {
      0A54504E474F626A65637489504E470D0A1A0A0000000D494844520000001600
      00001608020000004BD6FB6C0000000467414D410000B18F0BFC610500000009
      7048597300000EC200000EC20115284A800000001874455874536F6674776172
      65007061696E742E6E657420342E302E36FC8C63DF000000384944415478DA63
      ACAEAD66A00C3052CD8896A6163234D7D4D58C1A31628CF0F6F3C6A36DEBA6AD
      7431627084C5A81183C1084A00158C000071065BF9A44132100000000049454E
      44AE426082}
    Appearance.Stroke.Color = 11119017
    Appearance.Fill.Color = 15329769
    Appearance.StrokeHover.Color = 10061943
    Appearance.FillHover.Color = 13419707
    Appearance.StrokeDown.Color = 9470064
    Appearance.FillDown.Color = 13156536
    Appearance.StrokeSelected.Color = 5197615
    Appearance.FillSelected.Color = 13156536
    Appearance.StrokeDisabled.Color = 11119017
    Appearance.FillDisabled.Color = clSilver
    Appearance.SeparatorStroke.Color = 11119017
    Appearance.Font.Charset = DEFAULT_CHARSET
    Appearance.Font.Color = clWindowText
    Appearance.Font.Height = -11
    Appearance.Font.Name = 'Segoe UI'
    Appearance.Font.Style = []
  end

Did you install the latest version of TMS VCL UI Pack 11.0.5.0 and TMS FNC Core 2.9.3.0? We fixed something related to double SVG registration

yes

Does Cleaning and rebuilding the project solve the issue? Can you add AdvTypes to the uses list and check if that helps?

Can you check if all packages are checked in the "Installed Components" window?

"Installed Components" window is ok
The problem is in the IDE. The compiled projects works
Rebuiling did not help

FNCfontsizepicker the same
fncbitmappicker too
fncdatetimepicker the same
everything that it is based on combobox.
All the others fnc components do not have problem

That's very strange, we'll need more time to investigate as we are not able to reproduce this here. Did you install other third party tools such as Skia, or any other library that might interfere with SVGs?

I have not installed skia and I have not installed the SVGIconImageList I usually use
Do you propose to move to Delphi 11.3 ? Is it IDE related?

I'm working with 11.2 so I don't think it's IDE related. Stay tuned we are currently investigating this further.

It does not seem to be IDE related. I have exactly the same behaviour on D11.3 and D10.4.2 since last update of FNC products.

Regards, Tom

Additional information - the error is not shown on Multi-Device-Applications but only on VCL & WEB applications.

Sorry for writing so much small messages. Error does not show any more when property DefaultStyle is set to False in Objectinspector from IDE.

Regards, Tom

1 Like

First of all, thank you very much for this additional information! Is this at form level or a specific component?

All other FNC Compos I add to the form seem to work (maybe because the ones I tried don't have a property DefaultStyle). But as soon as I drop a TMSFNCComboBox on the form, the error is shown. When I set DefaultStyle to False in Objectinspector the error is gone.

Is that what you wanted to know ?