Jump to content

Brian Evans

Members
  • Content Count

    417
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by Brian Evans


  1. Not all Windows setting pages have migrated to the new Settings App (the thing that won't open for you). Some can be gotten to by using the older Control Panel. Some entries in the older Control Panel just bring up pages in the new Settings App but not all. Like Control Panel -> Programs > Uninstall a program which brings up the older uninstall UI instead of the newer one from the Settings App. The older uninstall UI also has View installed updates option in the left column that can used to uninstall some Windows updates. 

     

    Are you saying the older Control Panel doesn't open for you either? Below is an image with the newer Settings App on the left and the older Control Panel interface on the right.

     

     

    1695922267_SettingsandControlPanel.thumb.PNG.8ee65c9ed5ee640bf48ad0b6e21542c4.PNG

     


  2. 2 hours ago, JohnLM said:

    I was going to ask, how do I undo an update, but it requires the Settings app. Arh!!  Settings just closes. 

     

    Is there any other way to undo an Update? 

    Yes, reboot into troubleshooting mode. Try: On the Windows sign-in screen, press and hold the Shift key while you select Power Circle with line Power icon > Restart. Should get a blue screen with three options, pick Troubleshoot, then Advanced options. May take more than one shift + restart (seems to not work if it must log you out as well).

     


  3. If it's hasn't been long since this happened, you can reboot in troubleshooting mode and uninstall the update. 

     

    As well Dell's suggestions include:

    - Log in as another user with administrator rights. If you can open the Settings app in that account, create a user account for yourself and delete the old account.

    - If none of the previous solutions resolved the issue, reinstall your operating system.

    (Windows 10: The Settings App Does Not Open or Flashes and Closes Instantaneously | Dell US)


  4. 1 hour ago, everybyte said:

    Funny that SysMon64.exe could not start in Windows 11 - there was a just screen flash.

    When opening UAC stated that the app is from an unknown publisher although in properties it is actually properly signed.

    Best to run it from a command line with administrator privileges as it installs a service and needs a command line option -i  before it will do so. Been playing with it in a Windows Sandbox - Windows Security | Microsoft Learn so I must install it each time since everything poofs when I close the sandbox.  


  5. Not sure there is much of a point in doing that - an AAB provides information so an app store can generate APKs for multiple devices. Using an AAB locally just adds extra steps to building and sending an APK to a device for testing.   

    What's the difference between AABs and APKs?

    App bundles are only for publishing and cannot be installed on Android devices. The Android package (APK) is Android's installable, executable format for apps. App bundles must be processed by a distributor into APKs so that they can be installed on devices.


  6. Delphi 12 is better behaved on the taskbar than previous versions. No extra entries on the task bar for the running IDE - just one taskbar icon for both. Can now use Windows key + number key to both launch or switch to it. Even works to cycle between multiple running copies of the same Delphi 12.   (Win+# are shortcuts for the first 10 application icons on the taskbar). 

     

     


  7. Not sure ARM will avoid the fate of the Motorola 68000 and PowerPC when going against x86 head on. The size of the full x86 ecosystem means there is much more money for processor development so that even when a competitor gets in a few wins it often falls behind over time. ARM has racked up some solid wins due to circumstances that are changing - x86 is no longer stalled by AMD (Bulldozer) or Intel (14nm) with both now making solid progress. 

     

    Apple added support for the x86 memory access model to the M1/M2/M3 processors which makes running multi-core x86 emulation much easier and higher performing. This means during Apple's transition to ARM the latest x86 based Mac software runs well on the new M1/M2/M3 hardware. Since no other ARM systems currently have anything equivalent it means the latest Windows x86 software will run comparatively poorly on an ARM based system. That makes any transition or even just fielding Windows ARM systems harder as some programs will fare poorly. Apple has really aced the transition to ARM.

     

    I think x86 will remain strong due to the large legacy and current software libraries. Same for Windows itself. I do not think Windows for ARM will succeed - it can't run modern x86 software well making any transition off x86 very rough.  

    • Like 1

  8. I don't use C++ Builder myself, but here is an answer from StackOverflow for a question from a few years ago:  you must change two settings. Turn off the Dynamic RTL in the linker settings and disable linking with runtime packages in the package settings.

     

    delphi - Can I step into the VCL (Pascal) code while debugging a C++ app? - Stack Overflow

    debugging - C++ Builder XE2 - is it possible to debug vcl data library? - Stack Overflow


  9. Short answer: No test case no fix.

     

    They do squash bugs when they have good descriptions and can be reproduced reliably. That makes it possible to see, understand, debug, fix and confirm the fix. The release and patch cycles are a bit slow, but it is what it is at this point. 

     

    I have solved similar freezing issues before, but none were due to Delphi itself. Windows APIs tend to hang when trying to access non-existent network resources. Some old projects referenced common libraries on network shares on servers long gone but still in DNS. Strangest case was dead batteries in a RAID card which caused a Windows cluster to not use write caching - writes were only considered done when they hit the physical disks. Throughput dropped hilariously low for the hardware involved bottlenecking everything. That makes finding a freezing issue in Delphi itself harder without a way to reproduce as what a customer sees might not be due to Delphi itself. 

     

    Seems like a catch-22 at this point: the freezing robs time from the same people we need to spend time on troubleshooting and trying to find a test case. 

    • Like 1

  10. Far as I know an object's dependencies should come in through the Uses in its own unit file. You only need to add locally in the test unit anything you are using in your tests. 

     

    Quote

    add in the search path all the paths to all the files not in the project to be tested

    Is the "not" accurate? Makes no sense at all. 


  11. Without a way to reproduce it could be a lot of things. Seen code skip a step in a process when a debugger was attached that was added to speed up debug runs looking at latter steps. 

     

    Also, time the freeze - a consistent over X seconds can be helpful to indicate if it is a timeout like looking up a network name or trying to initiate a network connection to something that doesn't respond at all.


  12. I believe dbExpress is like the BDE - included/available but not really kept up to date at least regarding what is included with Delphi. That is why I suggested the DevArt drivers which have seen more development since the Delphi XE5 days when FireDac was introduced as a replacement to overcome the unidirectional nature of dbExpress.  

     

    See how dated the SQL Server version are in this list for example: dbExpress Supported Database Management Systems - RAD Studio (embarcadero.com)

×