Hi everybody!
I am new to delphi programming and I was learn by myself. In my country, they don't teach delphi (only pascal), so I don't get any help.
I'm practicing following the instructions on the internet, specifically the following source page: https://www.cnblogs.com/huangcong/archi ... 72848.html
Note: source code contains a lot of syntax and spelling errors
-For example:
unit UserRightCenter;
6th line: TUserRight = class => // TUserRight = = class (TForm)
-
unit Main;
Rigth type must be corrected to Right
line 23: ShowUserRigthView procedure (uid: Integer);
// ------------------------------------------------ ----
procedure TUserRight.ShowUserRigthView (uid: Integer);
// ------------------------------------------------ ----
procedure TfrmMain.Button1Click (Sender: TObject);
begin
FUserRight.UserID: = 1;
FUserRight.ShowUserRigthView (1);
end;
// ------------------------------------------------ ----
I have problems rebuilding an app without knowing where the error is. Can someone spend some valuable time to review and point out errors?
Please see attached file.
Thank you in advance!
Help! - Delphi implements the operation permission of the logged-in user in the software
Forum kuralları
Forum kurallarını okuyup, uyunuz!
Forum kurallarını okuyup, uyunuz!
-
- Üye
- Mesajlar: 17
- Kayıt: 09 Eyl 2016 11:57
Help! - Delphi implements the operation permission of the logged-in user in the software
- Dosya ekleri
-
- Delphi_User_Right_Access_Database.7z
- (20.18 KiB) 100 kere indirildi
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Hello,
You seem to be missing code for TfrmUserRightView. Web page you shared shows no information as to that form. But, it is for sure used by TUserRight.
I have added some remarks in project. They are starting as:
I suggest you read and try to understand them.
Hope that helps.
P.S. You did not mention Delphi version you are using. Attached project compiles fine using Delphi 10.3.2
You seem to be missing code for TfrmUserRightView. Web page you shared shows no information as to that form. But, it is for sure used by TUserRight.
I have added some remarks in project. They are starting as:
Kod: Tümünü seç
//- -ERTAN
Hope that helps.
P.S. You did not mention Delphi version you are using. Attached project compiles fine using Delphi 10.3.2
- Dosya ekleri
-
- Delphi_User_Right_Access_Database.rar
- Including recovery information in rar, use WinRAR 5.0 or obove
- (75.57 KiB) 84 kere indirildi
-
- Delphi_User_Right_Access_Database.7z
- (66.55 KiB) 110 kere indirildi
En son ertank tarafından 22 Oca 2020 01:32 tarihinde düzenlendi, toplamda 1 kere düzenlendi.
-
- Üye
- Mesajlar: 17
- Kayıt: 09 Eyl 2016 11:57
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Thanks you Ertank!
I will learn more about this.
I will learn more about this.
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Hello, ertank.
I faced a task similar to the task of the author of the topic.
I wanted to clarify which algorithm / application was used to create the archive you posted
(Delphi_User_Right_Access_Database.7z)? The problem is that when i try to open the downloaded
archive, the error "Unexpected end of archive" is issued. I am using the 7zip archiver version 19.00.
Thank you in advance!
PS: English is not my native language, so please be kind to my mistakes.
I faced a task similar to the task of the author of the topic.
I wanted to clarify which algorithm / application was used to create the archive you posted
(Delphi_User_Right_Access_Database.7z)? The problem is that when i try to open the downloaded
archive, the error "Unexpected end of archive" is issued. I am using the 7zip archiver version 19.00.
Thank you in advance!
PS: English is not my native language, so please be kind to my mistakes.
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Delphi is NOT language. its a just IDE. PASCAL is language. like lazarus not language, its JUST writed application in FreePascal.
ZAGOR TENAY TÜRK'tür... TÜRK kalacak...
Zoru başarırım, İmkansız zaman alır
FreeMan 35.5
Soru sormaya üşenmiyorsan, sorunun çözümünü yazmaya da üşenme !!!
Zoru başarırım, İmkansız zaman alır
FreeMan 35.5
Soru sormaya üşenmiyorsan, sorunun çözümünü yazmaya da üşenme !!!
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Hello,ZsA yazdı: ↑21 Oca 2020 11:49 Hello, ertank.
I faced a task similar to the task of the author of the topic.
I wanted to clarify which algorithm / application was used to create the archive you posted
(Delphi_User_Right_Access_Database.7z)? The problem is that when i try to open the downloaded
archive, the error "Unexpected end of archive" is issued. I am using the 7zip archiver version 19.00.
Thank you in advance!
PS: English is not my native language, so please be kind to my mistakes.
Added another compressed file. WinRAR this time. Should be working fine. Pay attention to use WinRAR 5.0 or above to decompress.
Re: Help! - Delphi implements the operation permission of the logged-in user in the software
Hello, ertank.
Thanks for such a quick and valuable reply. I checked - WinRAR version opens correctly. I will deal with the given project.
Thank you.
Thanks for such a quick and valuable reply. I checked - WinRAR version opens correctly. I will deal with the given project.
Thank you.