-
Content Count
3503 -
Joined
-
Last visited
-
Days Won
115
Everything posted by Lars Fosdal
-
TMS Advanced String Grid (https://www.tmssoftware.com/site/advgrid.asp) Not cheap, but part of a very powerful package of components (TMS VCL UI Pack). Data can be inserted in the grid, rendered from your memory structure, read from a db, json, excel, etc. We've been using it for many years now, and it is still being maintained and enhanced.
-
You have to expand that first line where the serial number is to see the download packages. There you'll find it next to the download link.
-
Right where you download your registered EL install kit, there is a link to the right of it where you can download the license file.
-
How can I force a record to be allocated on the heap ?
Lars Fosdal replied to dormky's topic in Algorithms, Data Structures and Class Design
You are right. I didn't consider the differences between GetMem and New. -
How can I force a record to be allocated on the heap ?
Lars Fosdal replied to dormky's topic in Algorithms, Data Structures and Class Design
@JiyaHana Please read the thread before replying. That solution was already proposed. -
Can you see the value if you create a new Watch for it? Is the "variable" you are trying to inspect, actually a function result like MyObject.MyFunction? If it is, you need to go to Tools | Options | Debugger and enable "Allow side effects and function calls in new watches"
-
Have you checked Microsoft's documentation? Does it indicate that it should be possible?
-
Do you mean a tooltip for a variable in the source code on a breakpoint inside the IDE, or a tooltip that should appear on a component in your application when it is running? As you can see - your description still lack the detail needed for me to really understand the problem. Be specific.
-
Handing over the baton to Thomas and Lars
Lars Fosdal replied to Daniel's topic in Community Management
Thank you, Daniel - for expanding the Delphi-PraXis site to offer a home for the English speaking Delphi Developers! I spelunk this place almost every day, and it is invaluable to the community for keeping up to date, and find help in resolving issues - or simply for learning new things! See you around, and my best wishes to you and your family for a joyful and prosperous new year! Brgds, Lars F. -
Which Delphi version? Which Platform? Which component(s)? What did you expect should happen? If we have to guess what you are doing or how you do it - it is unlikely we can be of any help. https://larsfosdal.blog/2016/04/20/how-do-i-ask-good-questions/
-
Online activation failed for me. Downloading the license file and inserting it "manually" worked.
-
Record operator overloading error
Lars Fosdal replied to lisichkin_alexander's topic in RTL and Delphi Object Pascal
not(a) looks weird to me. -
GetIt, DocWiki, Quality Portal are all down for me as well. Blogs are up, but really slow.
-
Isn't that always \\server\share + \myfolder ?
-
We use DUnitX and it discovers all our silly mistakes before release
Lars Fosdal posted a topic in DUnitX
Fresh code: https://github.com/VSoftTechnologies/DUnitX Typical code that we test with DUnitX: - value to string and string to value - lookup functions - generic classes - formatters as well as database integration tests (CRUD) How do you guys use it? -
Delphi 12 IDE, cannot create regions
Lars Fosdal replied to A.M. Hoornweg's topic in Delphi IDE and APIs
@A.M. Hoornweg Please post this as an issue on QP. -
[FireDAC][Phys][ODBC][Microsoft][ODBC SQL Server Driver]Connection is busy with results for another hstmt
Lars Fosdal replied to gkobler's topic in Databases
We always run with MARS=Yes. We also follow a different pattern with regards to inserts and updates - using stored procedures to change the contents of the database. Usually the problem is that more than one operation is attempted on the same connection at the same time. Are you certain you are not crossing variables somewhere? In you example code, there is fdcAmman and fdcUpdateAmman ... -
Usually a mess we create ourselves 🙂 It may be that the dead thread raising the exception was trying to use an already disposed reference in it's final moments.
-
I use EL, so I can't really opinionate on MadExcept. It is very rare that it gives me no clue to the callstack for exceptions caused by dangling pointers, but when desperate, I've turned to using a FreeAndNil overload to set the pointers to a recognizable value, $DEAD0001 and so forth, and logging the line where I set the respective ptr values to at least find a hint to the context that is trying to use it. Problems like these can be a pain to find. Another alternative would be to try with regular threads to see if the problem persists - if it doesn't, it might be that you can attribute it to something OTL specific?
-
Good info, Brian!
-
Do you .Free or FreeAndNil? Are you using EurekaLog or MadExcept?
-
Does this trick have any effect? HttpClient.SetRequestHeader('Connection', 'close'); from https://stackoverflow.com/questions/48321245/thttpclient-is-not-closing-connection-in-delphi
-
You can move to FireDAC while still using DBase. I know, not your goal - but at least you would have made the first step. https://blogs.embarcadero.com/firedac-odbc-for-paradox-and-dbase-tables/
-
If a REST call is in progress when you terminate - will the code hangup and close the REST related thread(s) ?
-
Do you stop the tasks and wait for completion of any running task before stopping the application?