-
Content Count
3335 -
Joined
-
Last visited
-
Days Won
110
Posts posted by Lars Fosdal
-
-
57 minutes ago, kosovali said:When records streamed on Win32 /Win64 has a different sizes
Why would you stream the pointers? They only have any meaning inside each application as a reference to a memory position.
- 4
-
17 hours ago, mvanrijnen said:haha, you have stocks in that ? 😉
(i still have to compare it to mitm)
Nope. I bought a license, though. Invaluable for sorting out the authentication protocol issues I had.
-
I use reg.ex search/replace and/or macros for that kind of stuff.
-
I didn't realize that VSCode had it. It defaulted to Alt+Click, while I expected Ctrl+Click.
-
Another thought - would it not be just as convenient to search the Windows Eventlog for the various events for start/logon/logoff/sleep/reboot/shutdown?
-
I was also thinking about a service, but it might be more trouble (rights wise) to get one installed than a simple standalone app.
On 1/2/2024 at 12:03 AM, Uwe Raabe said:app doesn't get the time to execute its task before the system goes to sleep
Isn't there messages to respond to that can prevent/postpone the sleep?
-
That is a very unusual function for a plain text editor. I don't think I've seen it before.
-
-
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.
-
QuoteI guess I have a special page I don't see it anywhere.
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.
-
5 hours ago, Stano said:I can't find where I can download my license file. What is its name? Thanks!
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.
-
2 minutes ago, David Heffernan said:Actually, I think that this was the first mention of GetMem in the thread.
You are right. I didn't consider the differences between GetMem and New.
-
37 minutes ago, JiyaHana said:You can try with the GetMem function to dynamically allocate memory for the record.
@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"
- 1
-
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.
-
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.
- 1
-
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.
-
16 hours ago, lisichkin_alexander said:if not(a) or True then <<--- Error [dcc32 Error] E2015 Operator not applicable to this operand type writeln('a not or');
not(a) looks weird to me.
- 1
-
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 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 ...
İs possible same pointer size for Win32/Win64?
in Algorithms, Data Structures and Class Design
Posted
Does the stream consist only of ptr_rec2 elements? Is it simply a double linked list?
Is the element sequence in the stream of importance?
Are the pointers relative positions in the stream or are they original memory positions in the old win32 app and discarded/replaced when loading in the receiving app?
Do you need to keep it in the same linked list format in the new 64-bit app?
Both ptr_rec1 and pointer are 8 bytes in 64-bit - so to read the stream in 64-bit, you would have to replace the pointer types with a 32-bit variable
If the stream is not incredibly large, you could create a shadow structure that basically is an array of ActualPtr_rec2 and point to the ptr_rec2 elements without caring about the pointers?