Jump to content

Bill Meyer

Members
  • Content Count

    655
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by Bill Meyer

  1. Bill Meyer

    "Add Method" (Ctrl+Alt+M) wrongly assigned to TForm

    Alternately, you might recognize that the use case you cited is not supported.
  2. Bill Meyer

    "Add Method" (Ctrl+Alt+M) wrongly assigned to TForm

    You put your cursor in the TMyObject class, and then use Ctrl + Alt + M.
  3. Bill Meyer

    Delphi IDE on AMD cpu?

    The 5900X is probably overkill, too. Mine is a 3800X and I've been running it for over a year. Glad I bought it. Would have liked to get a 12 core, but in truth, my experience has been that the 8 core is a very good fit. You could get a 3900X and use the $200+ toward memory. In my environment, 64GB is now the sweet spot.
  4. Bill Meyer

    Delphi IDE on AMD cpu?

    I am very happy with my AMD in a system where it is not unusual to have multiple VMs running.
  5. Bill Meyer

    A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints

    Understood. My recollection is that the misbehavior observed here was inconsistent. Sorry I don't have better details. What I do know is that after the fix was applied to the manifest, the system behaved as expected. Worth a try, I think.
  6. Bill Meyer

    A BIG and very strange BUG with High-DPI, VCL Style and Form Constraints

    I was not involved, but I know we had some issues which were resolved by the info here: https://stackoverflow.com/questions/23551112/how-can-i-set-the-dpiaware-property-in-a-windows-application-manifest-to-per-mo#44009779
  7. Bill Meyer

    How to kick TDataset to filter record(s)

    Dataset.Filter and Dataset.Filtered? Or are you looking for more than that?
  8. Bill Meyer

    problem with file attributes

    I am calling the DevExpress ExportGridToXLSX, and it produces the spreadsheet no problem. The difficulty comes after, as I want to open it in FlexCel to insert a header, it fails. I have this snippet: ExportGridToXLSX(fn, grdMain); b := FileExists(fn); I have tested in a small program, and FileExists returns True. But in WOMS, form the Daily Grid, it returns false. In both cases, the xlsx file opens in Excel without a problem. Going deeper, the failure of FileExists is because the call it makes to GetFileAttributes returns INVALID_FILE_ATTRIBUTES. Any thoughts?
  9. Bill Meyer

    problem with file attributes

    One of the first things I override. 😉
  10. Bill Meyer

    problem with file attributes

    Yes. The extension was incorrect at the call, and they silently correct it. I'd have preferred an error message.
  11. Bill Meyer

    problem with file attributes

    And obviously going blind. Thank you! But that's really odd, as the content of my filename variable has not changed.
  12. Bill Meyer

    problem with file attributes

    Here is a selection from the Process Monitor log which shows the last few entries of the file write activity, and the subsequent failure to find the file: "Time of Day","Process Name","PID","Operation","Path","Result","Detail" "5:54:48.3007155 AM","MediaOffice.exe","7476","WriteFile","T:\TestSheet.xlsx","SUCCESS","Offset: 17,179, Length: 46" "5:54:48.3007203 AM","MediaOffice.exe","7476","WriteFile","T:\TestSheet.xlsx","SUCCESS","Offset: 17,225, Length: 19" "5:54:48.3007257 AM","MediaOffice.exe","7476","WriteFile","T:\TestSheet.xlsx","SUCCESS","Offset: 17,244, Length: 22" "5:54:48.3010912 AM","MediaOffice.exe","7476","CloseFile","T:\TestSheet.xlsx","SUCCESS","" "5:54:48.3363273 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" "5:54:48.3363673 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" "5:54:48.3363977 AM","MediaOffice.exe","7476","CreateFile","T:\TestSheet.xls","NAME NOT FOUND","Desired Access: Write Attributes, Synchronize, Disposition: Open, Options: Synchronous IO Non-Alert, Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a" "5:54:48.3364372 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" And here, a sample of the activity which appears to be from the FileExists() call: "Time of Day","Process Name","PID","Operation","Path","Result","Detail" "5:54:48.3639990 AM","MediaOffice.exe","7476","CloseFile","C:\Windows\Fonts\segoeuib.ttf","SUCCESS","" "5:54:48.3640382 AM","MediaOffice.exe","7476","CloseFile","C:\Windows\Fonts\segoeuii.ttf","SUCCESS","" "5:54:48.3640635 AM","MediaOffice.exe","7476","CloseFile","C:\Windows\Fonts\segoeuiz.ttf","SUCCESS","" "5:54:48.3645094 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" "5:54:48.3645566 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" "5:54:48.3645860 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" "5:54:48.3646129 AM","MediaOffice.exe","7476","QueryOpen","T:\TestSheet.xls","NAME NOT FOUND","" These entries continue for many hundreds of rows. I am not accustomed to investigating at this level, so not sure how to interpret this.
  13. Bill Meyer

    problem with file attributes

    But as I wrote above, the file clearly does exist.
  14. Bill Meyer

    problem with file attributes

    This app created the file. A few lines later, it looks for the file, and GetLastError reports 2: ERROR_FILE_NOT_FOUND But the file exists, in that same location. It is openable in Excel, and can be resaved from Excel. And after that, I still get a fail on FileExists().
  15. Bill Meyer

    problem with file attributes

    Agreed. I did not word the title well. However, the file does exist, and the result from FileExists is incorrect as its call to GetFileAttributes returns INVALID_FILE_ATTRIBUTES. Adding a delay as a check accomplishes nothing, it is not a matter of the write not having completed.
  16. Lately I found that I was getting psychedelic fringes on things in the editor, so switched to dark mode. However, I noticed that the MMX Properties dialog has a problem in the topic tree. It appears as though all topics are selected, and is quite unreadable. This seems to occur only the first time the dialog is presented in a session. MMX 15.0.33 build 2403 in Delphi 10.2.3.
  17. Bill Meyer

    MMX Properties dialog with IDE dark

    Understood. But I identified it, and wanted to let you know.
  18. Bill Meyer

    I will be less active for a few weeks

    Be well, Lars, and recover fully and soon.
  19. Bill Meyer

    Refactor menu grayed out for Rename...

    What plug-ins have you installed?
  20. Bill Meyer

    Delphi 10.4.2 first impressions

    I find no mention at all on that page of DirectX11 or any version of DirectX. Nor in the manual for VBox.
  21. Bill Meyer

    Delphi 10.4.2 first impressions

    Will have to experiment, I guess. There is no mention of DirectX11 in the VBox manual.
  22. Bill Meyer

    Delphi 10.4.2 first impressions

    So does this mean that the Extension Pack for VBox is needed to run 10.4.2? I don't see any notes in the installation page about extraordinary video requirements.
  23. Bill Meyer

    Delphi 10.4.2 first impressions

    I am on VBox 6.1.18, and the settings offers only a max of 128MB. How are you getting 256MB?
  24. Bill Meyer

    Delphi 10.4.2 first impressions

    If so, that is a full stop for my needs.
  25. Bill Meyer

    50 Years of Pascal

    I had the opportunity to play a bit with Whitesmith's C on CP/M, and that persuaded me it would not be my future. I am not sure now how many floppies were involved, but I do remember that compiling hello world -- when it didn't crash -- took about 4 minutes. BDS C was fare more usable, but gave a whole new meaning to quirky. TP 1.0 on CP/M was a revelation. Purely amazing, and all in a 27K .com file.
×