emailx45
Premium
My environment test:
- Intel i7 4770K 3.5GHZ (CPU)
- Corsair Vengeance 8GB 1866Mhz 1.5v (memory)
- Corsair Hidrocooler H100i
- Asus Sabertooth Z87 (motherboard)
- nVidia GTX650 Ti Boost 2GB (Gigabyte)
- Windows 8.0 Pro 64Bits - Portuguese-Brazil
- without Antivirus or simillars
- RAD Studio XE10.1 Berlin v24.0.22858.6822 (no updates)
--- Default ISO installation with this resources:
----- CBuilder (NOT INSTALLED)
----- Interbase XE7 Developer Edition Server ) (NOT INSTALLED)
----- Intraweb (NOT INSTALLED)
----- Installled:
--------- Additional Platform Support (Android, iOS (32/64), OSX e Windows 64bit)
--------- Help files
--------- Interbase Express (components)
--------- Samples Applications
--------- ThirdParty Addons
-------------- FastReport
-------------- TeeChart Standard
-------------- DUnit Unit Testing Frameworks
When Error or Warning appear
**********************************************
1- Crash on IDE later sometime (critical error already know)
Answer: close IDE by TaskManager (only)
2- Using "Search in Files" (critical error, crash IDE)
How to:
1- select one word in your unit, for example, one variable, word-reservade, class name, etc...
2- Now, go to "Search in files" -> ...files in project group -> click OK to beggin the search
3- Resulted: The IDE lost focus and crash later click-mouse (only TaskManager to close it)
3- Message "Warning: Duplicate resources" when compiling... (release or debug)
DCC Hint: H2161 Warning: Duplicate resource: Type 12 ..... (ICON GROUP)
0- The project test, was created using Wizard + adding DataModule by New-> Other-> Delphi Files-> DataModule) - mode Default
...
1- Create a new project in "MULTI-DEVICE APPLICATON DELPHI" (FireMonkey) (Blank Application)
2- Add one "DataModule" (New-> Other-> Delphi Files-> DataModule)
3- Add one component "FDCONNECTION" (pallete "FireDAC") - and all another if you want
4- run the compiling (F9 or not)
5- Resulted: message "Warnig: Duplicate resource" -> DONT APPEAR
...
6- NOW, use the Formatter (Delphi) (CTRL+D) on unit "DataModule" (where "FDConnection" is it)
7- run the compiling (F9 or not)
8- Resulted: message "Warnig: Duplicate resource" - APPEAR HERE
my unit DataModule later use CTRL+D (Formatter) - I use "break lines options in Formatter Editor - Tool (Delphi)"
- UpperCase or LowerCase is not "the cause" ok
- Style: Windows - View: Master
program Project1;
uses
System.StartUpCopy,
FMX.Forms,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {DataModule2: TDataModule};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
-----
UNIT1 - just on FORM FMX default
-----
UNIT Unit2;
INTERFACE
USES
System.SysUtils,
System.Classes,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Phys,
FireDAC.Stan.Param,
FireDAC.DatS,
FireDAC.DApt.Intf,
FireDAC.Stan.Async,
FireDAC.DApt,
Data.DB,
FireDAC.Comp.Client,
FireDAC.Phys.SQLiteVDataSet,
FireDAC.Comp.DataSet,
FireDAC.Stan.Pool,
FireDAC.FMXUI.Wait,
FireDAC.VCLUI.Wait;
TYPE
TDataModule2 = CLASS(
TDataModule)
FDTransaction1: TFDTransaction;
FDManager1: TFDManager;
FDTransaction2: TFDTransaction;
FDCommand1: TFDCommand;
FDTableAdapter1: TFDTableAdapter;
FDSchemaAdapter1: TFDSchemaAdapter;
FDMemTable1: TFDMemTable;
FDQuery1: TFDQuery;
FDStoredProc1: TFDStoredProc;
FDTable1: TFDTable;
FDUpdateSQL1: TFDUpdateSQL;
FDMetaInfoQuery1: TFDMetaInfoQuery;
FDEventAlerter1: TFDEventAlerter;
FDLocalSQL1: TFDLocalSQL;
FDConnection1: TFDConnection;
PRIVATE
{ Private declarations }
PUBLIC
{ Public declarations }
END;
VAR
DataModule2: TDataModule2;
IMPLEMENTATION
{ %CLASSGROUP 'FMX.Controls.TControl' } //test with or not Diretive
{$R *.dfm}
END.
ANSWER POSSIBLE:
http://community.embarcadero.com/answers/dcc64-hint-h2161-warning-duplicate-resource
http://stackoverflow.com/questions/26468135/h2161-warning-duplicate-resource-type-10-rcdata
http://stackoverflow.com/questions/...icate-resource-type-24-user-defined-id-1-file
*****************************************************************************
This error appear sometimes, same with a CLEAN INSTALLATION of RAD STUDIO XE10.1 Berlin (FIREMONKEY projects - Multi-Device app)
-- Style: Windows - View: Master
-- When: for example, im editing (manually) one unit and press key F12 to show my Form (default action)
-- This error show that I have one "TImageList" and it cause the error "Index out Range", but, "I DONT HAVE ANY COMPONENT IN MY FORM" in my new project
[50BCA39C]{vcl240.bpl } Vcl.ImgList.TCustomImageList.Delete (Line 654, "Vcl.ImgList.pas" + 2) + $1C
[0CB2F34C]{MultidevicePreview240.bpl} DesignPreviewFrm.TfrmDesignPreview.UpdateThumb (Line 752, "DesignPreviewFrm.pas" + 51) + $8
[0CB2EF57]{MultidevicePreview240.bpl} DesignPreviewFrm.TfrmDesignPreview.TickTackTimer (Line 660, "DesignPreviewFrm.pas" + 27) + $7
[50B5F87F]{vcl240.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3109, "Vcl.ExtCtrls.pas" + 1) + $E
[50B5F763]{vcl240.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3067, "Vcl.ExtCtrls.pas" + 4) + $7
[50170C64]{rtl240.bpl } System.Classes.StdWndProc (Line 17178, "System.Classes.pas" + 8) + $0
[50BEEC6F]{vcl240.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10534, "Vcl.Forms.pas" + 23) + $1
[50BEECB2]{vcl240.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10564, "Vcl.Forms.pas" + 1) + $4
[50BEEFE5]{vcl240.bpl } Vcl.Forms.TApplication.Run (Line 10702, "Vcl.Forms.pas" + 26) + $3
:rose:
- Intel i7 4770K 3.5GHZ (CPU)
- Corsair Vengeance 8GB 1866Mhz 1.5v (memory)
- Corsair Hidrocooler H100i
- Asus Sabertooth Z87 (motherboard)
- nVidia GTX650 Ti Boost 2GB (Gigabyte)
- Windows 8.0 Pro 64Bits - Portuguese-Brazil
- without Antivirus or simillars
- RAD Studio XE10.1 Berlin v24.0.22858.6822 (no updates)
--- Default ISO installation with this resources:
----- CBuilder (NOT INSTALLED)
----- Interbase XE7 Developer Edition Server ) (NOT INSTALLED)
----- Intraweb (NOT INSTALLED)
----- Installled:
--------- Additional Platform Support (Android, iOS (32/64), OSX e Windows 64bit)
--------- Help files
--------- Interbase Express (components)
--------- Samples Applications
--------- ThirdParty Addons
-------------- FastReport
-------------- TeeChart Standard
-------------- DUnit Unit Testing Frameworks
When Error or Warning appear
**********************************************
1- Crash on IDE later sometime (critical error already know)
Answer: close IDE by TaskManager (only)
2- Using "Search in Files" (critical error, crash IDE)
How to:
1- select one word in your unit, for example, one variable, word-reservade, class name, etc...
2- Now, go to "Search in files" -> ...files in project group -> click OK to beggin the search
3- Resulted: The IDE lost focus and crash later click-mouse (only TaskManager to close it)
3- Message "Warning: Duplicate resources" when compiling... (release or debug)
DCC Hint: H2161 Warning: Duplicate resource: Type 12 ..... (ICON GROUP)
0- The project test, was created using Wizard + adding DataModule by New-> Other-> Delphi Files-> DataModule) - mode Default
...
1- Create a new project in "MULTI-DEVICE APPLICATON DELPHI" (FireMonkey) (Blank Application)
2- Add one "DataModule" (New-> Other-> Delphi Files-> DataModule)
3- Add one component "FDCONNECTION" (pallete "FireDAC") - and all another if you want
4- run the compiling (F9 or not)
5- Resulted: message "Warnig: Duplicate resource" -> DONT APPEAR
...
6- NOW, use the Formatter (Delphi) (CTRL+D) on unit "DataModule" (where "FDConnection" is it)
7- run the compiling (F9 or not)
8- Resulted: message "Warnig: Duplicate resource" - APPEAR HERE
my unit DataModule later use CTRL+D (Formatter) - I use "break lines options in Formatter Editor - Tool (Delphi)"
- UpperCase or LowerCase is not "the cause" ok
- Style: Windows - View: Master
program Project1;
uses
System.StartUpCopy,
FMX.Forms,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {DataModule2: TDataModule};
{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
end.
-----
UNIT1 - just on FORM FMX default
-----
UNIT Unit2;
INTERFACE
USES
System.SysUtils,
System.Classes,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Error,
FireDAC.UI.Intf,
FireDAC.Phys.Intf,
FireDAC.Stan.Def,
FireDAC.Phys,
FireDAC.Stan.Param,
FireDAC.DatS,
FireDAC.DApt.Intf,
FireDAC.Stan.Async,
FireDAC.DApt,
Data.DB,
FireDAC.Comp.Client,
FireDAC.Phys.SQLiteVDataSet,
FireDAC.Comp.DataSet,
FireDAC.Stan.Pool,
FireDAC.FMXUI.Wait,
FireDAC.VCLUI.Wait;
TYPE
TDataModule2 = CLASS(
TDataModule)
FDTransaction1: TFDTransaction;
FDManager1: TFDManager;
FDTransaction2: TFDTransaction;
FDCommand1: TFDCommand;
FDTableAdapter1: TFDTableAdapter;
FDSchemaAdapter1: TFDSchemaAdapter;
FDMemTable1: TFDMemTable;
FDQuery1: TFDQuery;
FDStoredProc1: TFDStoredProc;
FDTable1: TFDTable;
FDUpdateSQL1: TFDUpdateSQL;
FDMetaInfoQuery1: TFDMetaInfoQuery;
FDEventAlerter1: TFDEventAlerter;
FDLocalSQL1: TFDLocalSQL;
FDConnection1: TFDConnection;
PRIVATE
{ Private declarations }
PUBLIC
{ Public declarations }
END;
VAR
DataModule2: TDataModule2;
IMPLEMENTATION
{ %CLASSGROUP 'FMX.Controls.TControl' } //test with or not Diretive
{$R *.dfm}
END.
ANSWER POSSIBLE:
http://community.embarcadero.com/answers/dcc64-hint-h2161-warning-duplicate-resource
http://stackoverflow.com/questions/26468135/h2161-warning-duplicate-resource-type-10-rcdata
http://stackoverflow.com/questions/...icate-resource-type-24-user-defined-id-1-file
*****************************************************************************
This error appear sometimes, same with a CLEAN INSTALLATION of RAD STUDIO XE10.1 Berlin (FIREMONKEY projects - Multi-Device app)
-- Style: Windows - View: Master
-- When: for example, im editing (manually) one unit and press key F12 to show my Form (default action)
-- This error show that I have one "TImageList" and it cause the error "Index out Range", but, "I DONT HAVE ANY COMPONENT IN MY FORM" in my new project
[50BCA39C]{vcl240.bpl } Vcl.ImgList.TCustomImageList.Delete (Line 654, "Vcl.ImgList.pas" + 2) + $1C
[0CB2F34C]{MultidevicePreview240.bpl} DesignPreviewFrm.TfrmDesignPreview.UpdateThumb (Line 752, "DesignPreviewFrm.pas" + 51) + $8
[0CB2EF57]{MultidevicePreview240.bpl} DesignPreviewFrm.TfrmDesignPreview.TickTackTimer (Line 660, "DesignPreviewFrm.pas" + 27) + $7
[50B5F87F]{vcl240.bpl } Vcl.ExtCtrls.TTimer.Timer (Line 3109, "Vcl.ExtCtrls.pas" + 1) + $E
[50B5F763]{vcl240.bpl } Vcl.ExtCtrls.TTimer.WndProc (Line 3067, "Vcl.ExtCtrls.pas" + 4) + $7
[50170C64]{rtl240.bpl } System.Classes.StdWndProc (Line 17178, "System.Classes.pas" + 8) + $0
[50BEEC6F]{vcl240.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10534, "Vcl.Forms.pas" + 23) + $1
[50BEECB2]{vcl240.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10564, "Vcl.Forms.pas" + 1) + $4
[50BEEFE5]{vcl240.bpl } Vcl.Forms.TApplication.Run (Line 10702, "Vcl.Forms.pas" + 26) + $3
:rose:
Last edited by a moderator: