-
Content Count
3565 -
Joined
-
Last visited
-
Days Won
120
Everything posted by Lars Fosdal
-
The software industry has moved to the Web, why?
Lars Fosdal replied to Skrim's topic in General Help
The enterprise loves this because of zero deployment As long as your desktop/laptop has the appropriate browser, all you need is the URL. No need to install, update, patch, and you can work from anywhere without an high-powered laptop. Rolling out apps to thousands of PCs is a chore - and maybe the user have installed something that interfers with the new version. Rolling out a new web version is simply a tweak of a URL redirect, rolling back - the same. No deployed files that can be copied and reverse engineered or used without credentials. As for the quality of the web apps - that varies a LOT - but the good ones are on par with the desktop editions. -
software research - looking for Delphi5 logging tool SilentDD
Lars Fosdal replied to David Dyck's topic in General Help
What is it supposed to do? If it is only simple local logging, there are alternatives? -
Just keep reporting them, and we'll clean house as soon as possible.
-
I spotted this. Not sure if relevant? https://stackoverflow.com/questions/45502430/how-to-access-camera-on-a-windows-tablet-with-firemonkey
-
What about the Windows permissions? https://support.microsoft.com/en-us/topic/87ebc757-1f87-7bbf-84b5-0686afb6ca6b
-
And there is nothing in the code that eats exceptions instead of exposing them? What about stills? Can you get the example to work?
-
Ah, in that case - ensure there is no other software that might grab the camera instead of your app?
-
https://blogs.embarcadero.com/delphi-digital-fan-art-and-ai-art-contest/
-
You have not identified the type of device, so I assume Android and/or iOS. Has the app requested the right to use the camera? Has approval been given? Ref: https://docwiki.embarcadero.com/RADStudio/Tokyo/en/Uses_Permissions#camera
-
You still haven't explicitly defined the required precision? Anything timing related on Windows is a gamble err, calculated risk, unless you go to driver-level, and even then it depends on Windows not being starved for resource.
-
We've not experienced any significant problems with it, but then again, our apps run in a controlled environment.
-
WideString.c_bstr() operation in 11.2
Lars Fosdal replied to Roger Cigol's topic in RTL and Delphi Object Pascal
Did you report the problem on Quality Portal? -
Yes. I wrote it, and it has been used in production for nearly a decade.
-
How to enter unicode symbols into the Delphi IDE
Lars Fosdal replied to Dave Novo's topic in Delphi IDE and APIs
Windows standard app CharMap is another option. -
I got code that checks for a new version, downloads it to a temp file. Renames the running file, and renames the temp file to the running name, and then uses this code to relaunch. Works for .exe files and services. Has worked well for a decade.
-
I never liked the visual data module. I'd prefer it to have a listview of components rather than a collection of icons. On event handlers. Assign them in code. They break so easily otherwise.
-
or Retire. Sometimes, there is new software out there that can do the job.
-
Both this thread and the article you linked is nearly two years old.
-
Is there a Delphi equivalent of WriteStr ?
Lars Fosdal replied to Martin Liddle's topic in RTL and Delphi Object Pascal
Added example: caveat - specifiers from the top of my head 😛 -
Is there a Delphi equivalent of WriteStr ?
Lars Fosdal replied to Martin Liddle's topic in RTL and Delphi Object Pascal
I see. How many of these do you need to replace? If it is not a massive number, I would go for Format. It can both left and right pad with spaces if so is required, but converting the WriteStr formats will be a chore. WriteStr(s2, 'x = ', x:10:4, ', y = ', y:10, ', s = ', s:20); s2 := Format('x = %10.4f, y = %10d, s = %-20s, [x, y, s]); The usual f'up here is to either missalign the format string and the number of params, or have the wrong type variable in relation to the format specifier. -
Is there a Delphi equivalent of WriteStr ?
Lars Fosdal replied to Martin Liddle's topic in RTL and Delphi Object Pascal
UliGerhardt's solution could be wrapped - but it would be challenging to make threadsafe. It would treat s2 like a file, and write to the file. With a helper class, it would be possible to read the last written content out from s2 as a String again. Is it unthinkable to simply replace WriteStr(s2, with Writeln( ? -
They are trying. But - unfortunately they are trying the marketing way, not the grassroot growth way.
-
A comprehensive guide to Delphi programming language functions and procedures
Lars Fosdal replied to pouyafar's topic in VCL
There is another guide to the Delphi Programming language. -
A comprehensive guide to Delphi programming language functions and procedures
Lars Fosdal replied to pouyafar's topic in VCL
No, you uploaded a compressed binary to GitHub. Link removed. -
Some more fun with ChatGPT and Delphi
Lars Fosdal replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Well, I guess it is logical... old fruit will turn "gammel" 🙂