Tom F
Members-
Content Count
226 -
Joined
-
Last visited
-
Days Won
5
Everything posted by Tom F
-
Thankfully, RAD Studio up until now has shielded me from having to know anything about Xcode. I'd just install RAD Studio and PAServer and everything would work. If I upgrade in place from Sierra to Mojave, does XCode 9.x.x remain installed on the machine? Do I have to uninstall more recent XCodes, or can different versions co-exist? It appears that I can download XCode 9.x.x. from here: https://developer.apple.com/download/more/. Is the installation of that download straight-forward to a newcomer? Manually attaching the debugger is an unfortunate time-waster. I hope EMB has prioritized a fix for that too.
-
Let us know how it goes.
-
General DB access question -- paging query results
Tom F replied to David Schwartz's topic in Databases
Hi, Lars. I'm not that fluent in databases, so could you please help me understand your question above. What does the generated SQL look like? You imply that the query has to read through the first 19,900 rows to get to the data. Are you saying that SQL Server can't use and index so that WHERE (Row > 19,900) AND (Row < 20,000) can be fast? If rows aren't added or deleted (or require persistence in their row number), couldn't a column named Row be introduced? Or perhaps the db has internal row numbers? (I believe SQLite does for example) -
any suggestions on how to "lazy load" a BLOB/CLOB from Oracle DB?
Tom F replied to David Schwartz's topic in Databases
I'm no database expert, so I pose this expecting I'll have missed something. Suppose you put the large fields in their own table with a key pointing to them from the main table's records. Load the main table, and then use a background process (or on demand) to load the large fields from the second table. -
RTTI and EXE file size: how to shrink your executable 2 times
Tom F replied to Kryvich's topic in RTL and Delphi Object Pascal
Hi, Stefan, I don’t like guessing on things as important as this. If I guess wrong, the consequences shipping a defective product which fails in the field are too great. I assume that what you intended to communicate was that errors from missing RTTI info will be flagged at compilation time, not runtime. Is that correct?- 16 replies
-
RTTI and EXE file size: how to shrink your executable 2 times
Tom F replied to Kryvich's topic in RTL and Delphi Object Pascal
Question: I'm not using RTTI, AFAIK. If somehow, due to a mistake on my part, RTTI is needed. Will that show up as a run-time error, or compile-time error?- 16 replies
-
Has the migration tool EVER worked for you? It hasn't for me. I just tried migrating IDE settings from Tokyo to Rio. I also just tried migrating IDE settings from one Tokyo installation to a clean installation on another machine. Both failed to move my toolbar button or syntax highlighting or desktops, which were the main things I wanted to migrate. I gave up at that point and abandoned Rio. There's even less incentive to update to try a new version of Delphi if the migration tool doesn't work. I actually tried to be a "good user" and took a look at Quality Central with this query. But after seeing two pages of items, some going back years, I gave up. What's your experience with the migration tool?
-
I have determined that this problem is being caused by DisplayFusion, a wonderful program to handle multiple monitors and multiple task bars. If I disable DisplayFusion from adding title bar icons to any application, (these are buttons that allow one to easily move a window to another monitor), the problem goes away. I have contacted them for support. I have been using this program for many years and really value the various screen management tools it provides, especially title bar buttons and a task bar on each monitor that shows only the apps that are running on that monitor. I'd hate to not have the DisplayFusion tools available (and frankly would probably to use it even with the nuisance of non-modal windows burning through in the debugger), so I'm really hoping they will come up with a fix. Thanks to everyone here for their support and suggestions.
-
Has anyone here have any experience making stay on top forms NOT be on top of other apps? An approach was blogged about in 2004 (blog link, download link). (Thanks, twm) We'd LOVE to have our stay-on-top forms stay on top of our app, but NOT stay on top of other apps. But, we're nervous using the code this post links to, because we don't know enough to determine its quality and safety. I'm interested to hear how YOU are dealing with this if you are. REPLY
-
Thank you all for your suggestions and feedback. I am aware that my application is not performing as expected and that the VCL should handle this properly. A small sample program, as was suggested, works fine. I was not asking for new code. I was asking for suggestions on what I might be doing wrong. My apologies if I didn't make that clear in my OP. I'm running the current Tokyo 10.3 Update 3. My app is 45,000 LOC, so it's difficult to scale back to a small test program. fsStayOnTop works fine inside my app, but often times the on top forms are on top of other apps that I bring to the front. See the attached video. Interestingly, as seen in the video, it seems that every other time I cover it with another app it burns through in front of them. The on top forms are created with their parent form in the TForm.Create() statement. Any suggestions on how to diagnose this? ontop.mp4
-
That's a good question, David. If the code in the repo compiles without modification, then I absolutely agree with you: the OP should use it. I was under the impression that the OP had a problem with it. I fully understand that what I suggested is not the ideal path. Many of us are not nearly as capable as you. I am one of those people. When I was in the OP's shoes six years ago, I was unable to find a way on my own to compile GR32 in a new Delphi release. I was unable to find support for GR32 anywhere. I was stuck, stopped dead in the water. It felt like GR32 was a dying, unsupported project back then, but perhaps my perception was inaccurate and more the result of my ignorance on how to find help and on my technical inability to understand and revise the open source code. I hired someone to solve this problem for me. I have successfully used that solution ever since. Yes, the code I shared is old. However, perhaps it will provide a starting point for the OP if he or she needs something ASAP. Regarding the code I posted: as you know, sometimes the only solution is to start with something that works, even if it is old. And then, if it works, migrate it forward as necessary. Perhaps you and others, including the OP would be better served by downloading the code from github and trying to get it to work. I failed at that when I tried. Yes, I'm less capable than you and many others and probably shouldn't have been using GR32 at all if that usage requires skills I don't have. I included what I felt were sufficient caveats and warnings in my posting, but I appreciate your alerting the user that using older, unknown code may not make a lot of sense and poses a risk.
-
Years ago, I faced the same frustrating struggle as you are: how to use GR32 with new releases of Delphi. Good news for you: I use GR32 in modern releases of Delphi daily! I use a small piece of GR32 (TImage32 to display an image that can pan and zoom) in Tokyo daily. However, from the file dates, it looks like the version I use, it looks I downloaded from github quite some time ago, back in 2012. If that works for you, download this zipped source (.pas files) version that I just uploaded to Google Drive: https://drive.google.com/open?id=1c7TWJ4H910a4m5cCqjmw-tqhNmrbQ4vR. I recall there was some code that wasn't compiling that I commented out a few years ago. So, you may want to do a diff on this code vs what's current (sic) for GR32. The version I linked to above is right from my development machine ready for compiling and installing into Delphi Tokyo. As I recall, there may be some warnings during compilation about deprecated syntax. I ignore them. For future Delphi releases the instructions in the read me file in the zip file show how to change a single constant in the .inc file. It may be possible that you could make similar changes to the current github version, but I have no information on that. The above is what I use. It's been years (and several versions of Delphi) since I looked at this code other than to change the constant and install it into the IDE. Since this snapshot of GR32 is quite old, it may contain missing features or bugs that have been fixed in the current github version. You may want to do a diff to the current github version and determine the differences... I am providing this file to "pay it forward" and "pay it backward." However, since I think I paid a consultant for this solution, and it's so many year ago, I'm completely ignorant about what (if anything) was done to make the above work. So, I am unable to answer further questions about installing or using GR32 because, basically I'm just a "script kiddie" with this. If you or anyone else uses this file, it would be nice for you to post a response to this thread so others know of your success. PS I suggest you investigate migrating to a supported product like ImageEn, parts of which I now also use and am very happy with. Good luck! Tom
-
David, I’m aware that Delphi is supposed to do that. My my problem is that with our 50,000-line current Delphi app it doesn’t.
-
Anyone have an idea how to get my login to http://community.idera.com/ working? The won't let me create a new login with my email address. They won't let me login with my email address using any of my recent passwords. When I select to reset my password they say they'll send me an email with reset instructions, but none ever appears in my Inbox or Junk/Spam folders. So, just how does one get access to this new resource? As anyone been able to log in?
-
Me too. I figure their time is too valuable to "waste" on routine issues like this. Insert other media
-
Glad to know I'm not alone! But, hey, what email did you send to. Frankly, I'm always a bit bewildered, not knowing who to contact for routine types of things, EMB, Idera, etc. etc.