Jump to content

William23668

Members
  • Content Count

    113
  • Joined

  • Last visited

Community Reputation

8 Neutral

Recent Profile Visitors

1239 profile views
  1. William23668

    Trying to install JCL but I got error

    yes I also should got it from daily build but did not know
  2. William23668

    Trying to install JCL but I got error

    Problem solved found one of the jedi.inc that solved the problem !!
  3. William23668

    Trying to install JCL but I got error

    I tried again now with another jedi.inc but I got : The "source\include\jedi\jedi.inc" include file is outdated.
  4. William23668

    Trying to install JCL but I got error

    They only write to use jcl\install.bat in github
  5. William23668

    Trying to install JCL but I got error

    I dont have any other places for these components. I did not use JVCL from like so many years
  6. William23668

    Trying to install JCL but I got error

    Hi I got latest JCL from here: https://github.com/project-jedi/jcl But when I try to install using jcl\install.bat I got this error: Include file "source\include\jedi\jedi.inc" not found. I added the jedi.inc manually from jedi folder but I still get same error. How to install these components ?
  7. Hi I got this email : Is this mean C++ Builder can now work with Unreal engine ?
  8. William23668

    Warning: Duplicate resource:  Type 24

    Thanks @Uwe Raabe
  9. Thanks alot this solved the problem.
  10. Hi I get this error: [dcc32 Hint] H2161 Warning: Duplicate resource: Type 24 (user-defined), ID 1; File H:\myapp\myapp.res resource kept; file c:\program files (x86)\embarcadero\studio\23.0\lib\Win32\debug\WindowsXP.res resource discarded. I googled and searched if there is res duplication but could not found any, how I fix this error ?
  11. Yes I get code 32 but all drives are local
  12. Thanks I tried now to use the auto generate but I still can not get the drive handle, why ?
  13. Tried that but I got invalid handle
  14. Hi I searched for solution and found in stack overflow two methods but still not getting what I need. The code I use that need admin level : Handle := CreateFile(pchar('\\.\PhysicalDrive' + IntToStr(DiskNumber)), GENERIC_READ, FILE_SHARE_READ , nil, OPEN_EXISTING, 0, 0); It return invalid handle. So I created this manifest to debug run the app as admin and include it in my app source folder: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="1.0.0.0" processorArchitecture="*" name="myapp" type="win32" /> <description>My Delphi Application</description> <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> <security> <requestedPrivileges> <requestedExecutionLevel level="requireAdministrator" uiAccess="false" /> </requestedPrivileges> </security> </trustInfo> </assembly> included this line in my dpr source: {$R *.res} {$R 'myapp.manifest'} but I get this error: I saved the file as text utf-8 I tried another method to include this "SetEnvironmentVariable" line in the dpr source begin Application.Initialize; SetEnvironmentVariable('__COMPAT_LAYER', 'RunAsAdmin'); Application.MainFormOnTaskbar := True; Application.CreateForm(TForm2, Form2); Application.Run; end. But I still get invalid handle so I think SetEnvironmentVariable did not work, any ideas ? When I run the exe as admin from explorer I dont get this invalid handle error. Delphi 12 and Windows 11 Pro Thanks
  15. Thanks guys sorry I did not receive email notification from this one. I used all Delphi versions old and new from Delphi 1.0 to current version. I have skills in PHP, Javascript/TypeScript, SQL, CSS, C# and I can use C++ Builder without a problem as it wont be hard to convert my Delphi knowledge into C++ syntax. I created systems like ERP and POS (Windows + Web) and also hardware integration through different ports.
×