-
Content Count
2023 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
poor Sea of Japan
-
define "failing", provide more infos, logs, event logs
-
Install Raize components 6.1.10 in Delphi 10
Attila Kovacs replied to AndrewHoward's topic in General Help
Oh yes. Make sure RzComps.inc knows your current Delphi/Compiler version. You have to manually adjust it. -
Install Raize components 6.1.10 in Delphi 10
Attila Kovacs replied to AndrewHoward's topic in General Help
make sure there is no precompiled stuff with older delphi version like dcu, dcp etc... (backup the raize dir first) -
Install Raize components 6.1.10 in Delphi 10
Attila Kovacs replied to AndrewHoward's topic in General Help
there is a build script in the source dir -
I see. I've installed it now and the whole html is inserted as text. Sadly, there is not much we can do in simple mapi. You could ask them in their forum to implement it.
-
@marcin thank you for the feedback, as for thunderbird just pass the html text as the body. Don't forget to inline the images, and keep them in one single line. For Outlook you have to test for yourself as I do not have any here. There are rumors on the net that body should be null and the first and only attachment should be html body but I hope it's not the case anymore.
-
Well, Delphi was first not C#. With "the other" I can't deal. Anyway, I'd suggest you to hire a Delphi coder who can easily override the corresponding event handlers to let TDBGrid behave like you describe. (For whatever mystic reason)
-
What makes you think the "other" is the normal? For me, it's abnormal.
-
Reorganize a class / Set Of ..
Attila Kovacs replied to PatV's topic in Algorithms, Data Structures and Class Design
no, you are showing the interface part of the class, not the actual class with code -
There is always a virtual DoXY behind the OnXY.
-
Cast an array of numbers to array of bytes without re-allocating
Attila Kovacs replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
Ok, what does then SetLength(words, Length(Words)*2); SetLength(TArray<Byte>(words), Length(Words) div 2); with the array? 😉 Btw, it will also reallocate and copy the memory if needed so forget SetLength(). Does your version leak memory? -
Cast an array of numbers to array of bytes without re-allocating
Attila Kovacs replied to Der schöne Günther's topic in Algorithms, Data Structures and Class Design
What does setlength do with the casted memory?- -
Can undefined function result point to valid/used data in memory?
Attila Kovacs replied to Mike Torrettinni's topic in RTL and Delphi Object Pascal
If you are using the string as a pointer it's your responsibility to stay in its boundaries. The memory around it could be anything. Even if it's "unused", the next moment it could be assigned to other things. -
Well, there is ZipForge then. It's still maintained.
-
To which Delphi? Since XE2 there is System.Zip.TZipFile which would be the right way to move to.
-
There are no issues with D2007 on 21H2 at all. I have never seen an app complaining for a file which is on the location it's being searched and the app has the rights to using it.
-
FYI: Old security BUG fixed from ZLib
Attila Kovacs replied to Tommi Prami's topic in Tips / Blogs / Tutorials / Videos
Was the sechole bad? Can you/someone generate the objs? -
do you have any technical explanation for that or are you telling stories here?
-
There is more with these scrolling components. Touch / Pan is not ok as windows translates wm_gesture/pan messages to wm_scroll if the previous pan is still running.... Also, the pan handling in the VCL is wrong https://quality.embarcadero.com/browse/RSP-37027
-
"Accepted safety standards" no such thing. He can sue one for many other reasons. Insure yourself.
-
Why isn't this dangerous, or is it?
Attila Kovacs replied to Renate Schaaf's topic in Algorithms, Data Structures and Class Design
Well, it was the last option 😉 As the example shows, this pattern hiding something from you. It's not your friend. Do not underestimate that. With time, you won't remember everything. I mean, a thing. You won't remember anything. 😉 -
Why isn't this dangerous, or is it?
Attila Kovacs replied to Renate Schaaf's topic in Algorithms, Data Structures and Class Design
After the "Free" the reference is a "dangling pointer". The ShowMessage could still work for centuries but only by luck as the memory where the class was is now free for other things. So no, its not safe. Try to use explicit Free's and you don't have to keep the implementation details in your head. Or keep it there and follow the rules. -
Is Move the fastest way to copy memory?
Attila Kovacs replied to dummzeuch's topic in RTL and Delphi Object Pascal
that's how it should work actually -
it's double encoded "=" = "%3D" "%3D" = "%253D"