Leaderboard
Popular Content
Showing content with the highest reputation on 07/20/20 in all areas
-
Wrapping C(++) APIs with Custom Managed Records
Erik@Grijjy posted a topic in Tips / Blogs / Tutorials / Videos
Check out how you can use Delphi's new Custom Managed Records feature to wrap C(++) APIs. https://blog.grijjy.com/2020/07/20/wrapping-c-apis-with-custom-managed-records/ -
Why, oh why is there no description on github to say what is so great about the project? Sigh... even the project that this originated from says nothing, except showing some screenshots. I guess we programmers are not marketers 🙂
-
Does debugger handle WITH better in latest versions, 10.3+?
Lars Fosdal replied to Mike Torrettinni's topic in General Help
I very rarely use with. Too many pitfalls. -
Hi, just for you guys to weigh in, we have located a bug in the Delphi 10.4 compiler, that removes a totally valid assign statement in RELEASE mode, believing, that the code will never be executed. The actual method is from the mORMot library in releases before last week (unit SynCommons.pas, method TSynAnsiFixedWidth.AnsiBufferToUTF8. A full discussion is available at the mORMot-Forum: https://synopse.info/forum/viewtopic.php?id=5520 . I have reported the bug to Embarcadero: https://quality.embarcadero.com/browse/RSP-30088 . Please check out my report and try to confirm and weigh in there. It should be reproducible. --- Note, the compiler will tell you (Hint H2077), that the value assigned is never used and thus, in RELEASE mode, with optimizations enabled, drop the code completely. Thanks for your time and support đź‘Ť
- 7 replies
-
- optimization
- bug
-
(and 1 more)
Tagged with:
-
Does debugger handle WITH better in latest versions, 10.3+?
David Heffernan replied to Mike Torrettinni's topic in General Help
Given that so much that is actually important is broken, this should be way down the list of priorities. -
Patch 2 for RAD Studio 10.4 now available
Vincent Parrett replied to Marco Cantu's topic in General Help
I use Spring4D extensively (but not all of it obviously) - Base and Core and Extensions compiled fine for me with Update 2. -
Patch 2 for RAD Studio 10.4 now available
Vincent Parrett replied to Marco Cantu's topic in General Help
I can't really say, I installed it, my code failed to compile and I did something else for the weekend. I would love it if the debugger was improved but haven't got to that point yet, perhaps others can chime in. -
Patch 2 for RAD Studio 10.4 now available
Stefan Glienke replied to Marco Cantu's topic in General Help
Spring4D is not negatively affected by Patch2 -
At Export() that 5000 records doesn't count because the report is prepared. How many pages are? How many items per page? There are also vector images like charts or EMF, WMF? I tested for example 40 pages (200 records with one image and 30 text items per record) with booth FR Export and printing to "Microsoft print to PDF". The speed is about 3 seconds for both on a i7-8700K CPU. This is only Export because I do this at preview where the report is already prepared. P.S. You are too scarce with details and want a suggestion.....
-
Does debugger handle WITH better in latest versions, 10.3+?
David Heffernan replied to Mike Torrettinni's topic in General Help
"with as do" is not a thing in its own right. There is with (expr) do. And here we see as used in an expression. We are just composing different aspects of the language. -
Wrapping C(++) APIs with Custom Managed Records
Erik@Grijjy replied to Erik@Grijjy's topic in Tips / Blogs / Tutorials / Videos
Yes it did! -
Does debugger handle WITH better in latest versions, 10.3+?
David Heffernan replied to Mike Torrettinni's topic in General Help
All problems relating to with could be solved by the compiler warning about such collisions. -
I have written a blog article about this problem. https://blog.synopse.info/?post/2020/07/20/Special-Care-of-Delphi-10.4 Hope the issue is fixed soon in the next Delphi patch - after the holidays I guess. 🙂
- 7 replies
-
- optimization
- bug
-
(and 1 more)
Tagged with:
-
Does debugger handle WITH better in latest versions, 10.3+?
Dalija Prasnikar replied to Mike Torrettinni's topic in General Help
It still does not work in 10.4 -
Help, I'm trying to move an application to Rio.
Lars Fosdal replied to Gary Wardell's topic in General Help
Details are important. Without accurate details, you might as well be posting "something is wrong". -
Does debugger handle WITH better in latest versions, 10.3+?
haentschman replied to Mike Torrettinni's topic in General Help
Hi... ...I hope not. WITH is out of date. ...this has always been so. That´s the reason why i never had a WITH in my code. -
Patch 2 for RAD Studio 10.4 now available
Lachlan Gemmell replied to Marco Cantu's topic in General Help
I'd go ahead and install it, those debugger issues are a real pain. There's an uninstall for patch 2 if it does break your code. So far the only patch 2 specific compiler issue reported is related to using record constraints on generics where the record contains a managed type such as a string or a dynamic array. If you don't use record constraints on your generics (and you probably don't) then you're likely fine. To my knowledge the only library that's definitely broken so far is VSoft.Messaging. I haven't read anything that leads me to believe that Spring4D is broken. -
Help with string extraction function
Mahdi Safsafi replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
@Kas Ob. I noticed that you take optimization very seriously. That's really good but just as an advice from someone that did, don't be driven too much. Behind that optimization door resides the evil ! In fact, I spent much time reading Intel doc/books, comparing different compilers (gcc, clang, ...). At the end I become more obsessional and less productive as I started paying much attention to my codes than what is required like taking some time to decide whether I should write if a = b or if a <> b. -
GExperts supports even more laziness
dummzeuch replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
That sounds a lot easier than it is. Especially since the last assembler code that i really understood was 68000. -
ok, I've sorted this. I should have started with the basic application first. I needed to add /default before the /helloworld said I'd missed something obvious!