William23668
-
Content Count
117 -
Joined
-
Last visited
Posts posted by William23668
-
-
-
1 hour ago, dwrbudr said:You could try https://www.imageen.com/
Thanks I added more details. I think I need to create something like a driver to change colors at real time
-
-
yes I also should got it from daily build but did not know
-
Problem solved found one of the jedi.inc that solved the problem !!
-
I tried again now with another jedi.inc but I got :
The "source\include\jedi\jedi.inc" include file is outdated.
-
15 minutes ago, Anders Melander said:I'm not sure but I think it needs to be installed using some sort of installer which then generates the include file based on something, something, whatever, at this point I gave up and deleted everything.
They only write to use jcl\install.bat in github
-
I dont have any other places for these components. I did not use JVCL from like so many years
-
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 ?
-
Hi
I got this email :
QuoteWebinar: What’s New in Visual Assist 2024 March 13th, 2024 - 10 AM CST Dear , Did you know sister company Whole Tomato's highly popular Visual Assist 2024.1 can parse and open an Unreal Engine project up to 15 times faster than the previous version of Visual Assist? If you work with C++Builder, you'll want to know that C++Builder 12 Athens now comes with Visual Assist. Is this mean C++ Builder can now work with Unreal engine ?
-
-
3 minutes ago, Remy Lebeau said:Try adding FILE_SHARE_WRITE
Thanks alot this solved the problem.
-
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 ?
-
46 minutes ago, Remy Lebeau said:What does GetLastError() return when CreateFile() fails? Does it return ERROR_ACCESS_DENIED (5, ie you don't have rights to open the drive), ERROR_SHARING_VIOLATION (32, ie someone else has the drive open for non-read access, but you are sharing only read access), or something else?
Yes I get code 32 but all drives are local
-
-
Just now, FPiette said:Just run the IDE as administrator.
Tried that but I got invalid handle
-
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:
QuoteRLINK32: Unsupported 16bit resource in file "H:\myapp\myapp.manifest"
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
-
Thanks guys sorry I did not receive email notification from this one.
On 12/18/2023 at 12:07 PM, Roger Cigol said:You could tell us a bit about yourself too. Experience, interests, What version of RAD Studio you have etc etc. Do you have any C++ expertise ?
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.
-
Hi
I am full stack developer but I can not find any remote work. I tried freelance sites like upwork and freelance.com but no result. Any one know a good place to find remote work ?
Thanks
-
3 hours ago, David Heffernan said:Just use thousands of threads and get results yesterday, simples.
No, if you use too many threads then your will get results slower. How do you even think computers work?!!
You dont know my exact needs so go educate yourself how computer work and keep st upid comments to yourself
- 1
-
Yes the arrays I use affect other operations in storage unites so I am already getting better performance and I wont create 1000 threads of course.
-
6 hours ago, David Heffernan said:My question for you is why you want to do that?
get results faster
- 2
-
17 minutes ago, David Heffernan said:Depends what the threads are doing
Looping through very long list of arrays for read and write
-
Hi
If I created for example 8 threads to optimize performance but the host machine has CPU with 4 threads only will this be a problem ?
Thanks
Real time desktop colors change like filters
in Windows API
Posted
Entire desktop