delphi4arab منتديات دلفي للعرب

نسخة كاملة : عندي مشكله Identifier redeclared: 'StdCtrls'
أنت حالياً تتصفح نسخة خفيفة من المنتدى . مشاهدة نسخة كاملة مع جميع الأشكال الجمالية .
بسم الله الرحمن الرحيم

انا جديد هنا وان شاء الله احصل حل الى مشكلتي

في محاولات فاشله وانا احاول اني اعمل ملف .exe لكن شوفو المشكله

PHP كود :
Build
  
[Error] Unit1.pas(8): Identifier redeclared: 'StdCtrls'
  
[Error] Unit1.pas(8): Identifier redeclared: 'ExtCtrls'
  
[Warning] Unit1.pas(194): Text after final 'END.' - ignored by compiler
  
[Error] Unit1.pas(55): Unsatisfied forward or external declaration: 

'TForm1.btn3Click'
  
[Error] Unit1.pas(56): Unsatisfied forward or external declaration: 

'TForm1.FormCreate'
  
[Error] Unit1.pas(57): Unsatisfied forward or external declaration: 

'TForm1.chk1Click'
  
[Error] Unit1.pas(58): Unsatisfied forward or external declaration: 

'TForm1.btn5Click'
  
[Error] Unit1.pas(59): Unsatisfied forward or external declaration: 

'TForm1.btn6Click'
  
[Error] Unit1.pas(60): Unsatisfied forward or external declaration: 

'TForm1.btn7Click'
  
[Error] Unit1.pas(61): Unsatisfied forward or external declaration: 

'TForm1.btn8Click'
  
[Error] Unit1.pas(62): Unsatisfied forward or external declaration: 

'TForm1.btn10Click'
  
[Error] Unit1.pas(63): Unsatisfied forward or external declaration: 

'TForm1.btn11Click'
  
[Error] Unit1.pas(64): Unsatisfied forward or external declaration: 

'TForm1.btn9Click'
  
[Error] Unit1.pas(65): Unsatisfied forward or external declaration: 

'TForm1.btn4Click'
  
[Error] Unit1.pas(66): Unsatisfied forward or external declaration: 

'TForm1.btn2Click'
  
[Error] Unit1.pas(67): Unsatisfied forward or external declaration: 

'TForm1.rb2Click'
  
[Error] Unit1.pas(68): Unsatisfied forward or external declaration: 

'TForm1.rb1Click'
  
[Error] Unit1.pas(69): Unsatisfied forward or external declaration: 

'TForm1.btn1Click'
  
[Error] Unit1.pas(70): Unsatisfied forward or external declaration: 

'TForm1.img1Click'
  
[Error] Unit1.pas(75): Unsatisfied forward or external declaration: 

'TForm1.EncryptFile'
  
[Fatal Error] exProjact.dpr(5): Could not compile used unit 'Unit1.pas' 

إقتباس :Identifier redeclared
في الوحدة Unit1 لديك تكرار لوحدات StdCtrls و ExtCtrls
الحل: في uses إحذف StdCtrls و ExtCtrls
اي وحدة تكتب مرة واحدة فقط في uses

إقتباس :Unsatisfied forward or external declaration
لديك دوال مصرح بها وغير موجودة
الحل: احذفها كلها

والسلام عليكم
DeltaAziz كتب :


لديك دوال مصرح بها وغير موجودة

الأخ عبد العزيز يقصد دوال و اذا كنت لا تعرف ماهي ( هذه ِ طبيعة جميع المبتدئين ) , فهي اما Function او Procedure

و السلام عليكم
اانا حذفت الدول الى مش مستعمله وهذا طلع لي

Build
[Warning] Unit1.pas(179): Text after final 'END.' - ignored by compiler
[Error] Unit1.pas(55): Unsatisfied forward or external declaration: 'TForm1.FormCreate'
[Error] Unit1.pas(60): Unsatisfied forward or external declaration: 'TForm1.EncryptFile'
[Fatal Error] exProjact.dpr(5): Could not compile used unit 'Unit1.pas'

احذف ايضا في الوحدة Unit1 كل من
FormCreate السطر 55
EncryptFile السطر 60