Recent

Author Topic: Error: Duplicate resource: Type = 10, Name = TFORM1, Lang ID = 0000  (Read 4618 times)

Fernando_E_Alonso

  • Newbie
  • Posts: 4
Hi.
I have project with 3 units/forms Unit1(TForm1), unit2(TForm2)...

I try to compile, and receive the follow error:


Error: Duplicate resource: Type = 10, Name = TFORM1, Lang ID = 0000
then
1) i rename  Tform1 to TLForm1.
compile and get the same error (but related to TLForm1)

Error: Duplicate resource: Type = 10, Name = TLFORM1, Lang ID = 0000

Well, i remove unit1/TForm1 from project
complie, and now the error are related to second unit/form

Error: Duplicate resource: Type = 10, Name = TFORM2, Lang ID = 0000

and so on...(removing unit2/fom2 the next error es Duplicate....TForm3...)

Can someone help me with this problem?

FTurtle

  • Sr. Member
  • ****
  • Posts: 292
Re: Error: Duplicate resource: Type = 10, Name = TFORM1, Lang ID = 0000
« Reply #1 on: March 26, 2017, 02:28:42 pm »
Code: Pascal  [Select][+][-]
  1. var
  2.   Form1: TForm1;
  3.  
  4. implementation
  5.  
  6. {$R *.lfm}
  7. {$R *.lfm}  // delete this duplicate line
  8.  

Fernando_E_Alonso

  • Newbie
  • Posts: 4
Re: Error: Duplicate resource: Type = 10, Name = TFORM1, Lang ID = 0000
« Reply #2 on: March 26, 2017, 08:13:13 pm »
Sorry, but i don't have these duplicate line.

Thank you for your attention and kind answer

FTurtle

  • Sr. Member
  • ****
  • Posts: 292
Re: Error: Duplicate resource: Type = 10, Name = TFORM1, Lang ID = 0000
« Reply #3 on: March 26, 2017, 09:47:55 pm »
Did you try Build instead Compile?

 

TinyPortal © 2005-2018