Jump to content

Wil van Antwerpen

Members
  • Content Count

    42
  • Joined

  • Last visited

Community Reputation

18 Good

Technical Information

  • Delphi-Version
    Delphi 10.3 Rio

Recent Profile Visitors

220 profile views
  1. Wil van Antwerpen

    SSL certificate for VCL Application Exe

    Hi, Exactly that.. if you offer your software as a download then SmartScreen will be a real PITA for your users unless your software was signed with an EV certificate. About 3 times a user gets asked if they really want to do this. First deny the download, then popup a "not often installed" warning with cancel as default choice, then another warning of which I forgot the details. Sorry, can't test that now as Microsoft has finally started accepting my normal certificate again (after 5 months of pain) There I was just coming to the conclusion that one of these days I have to accept that the certificate I had bought for 3 years is worthless and that only an EV code signing certificate is going to offer a painless installation for end users. (pffff... ) edit: you asked for a link: https://www.ssl.com/faqs/which-code-signing-certificate-do-i-need-ev-ov/ I have lost so much time (and sales) on this that when the next renewal comes I will not doubt and buy an EV certificate instead of the -much cheaper- OV one.
  2. Wil van Antwerpen

    VMWare Workstation PRO vs MS Hyper-V

    It is good to alert users, but just to be clear this is for vCenter Server, not for VMware Workstation/Fusion/Player. Normally VMware vCenter server should not be directly accessible from the internet (yes, some people/companies do). However even when on a local network, it is still good to run the vCenter Server appliance update, if you run it.
  3. Wil van Antwerpen

    Using VMWare: what files remain on host?

    Also using everything VMware down here. All of my code and setup is in a VM. If I need to share source with other VM's or host then that is done via source control. Note that VMware shared folders (hgfs) can work for sharing source with host, but if it has a lot of files then I do expect a decreased performance while compiling. Shared folders are convenient, but they are also known for not being very performant. This is a common complaint at the VMware Forums. My recommendation in that case is to use network shares as they tend to be faster. Another thing to look into when troubleshooting performance issues with VMware shared folders is to make sure you antivirus is not checking your source.
  4. Wil van Antwerpen

    VMWare Workstation PRO vs MS Hyper-V

    Supported since VMware Workstation 15.5 Yet another advantage... I develop for macOS, on my mac I run Delphi in a VM, I can deploy on the mac at my host and when I debug, the screen will switch to the host automatically. Very smooth. Yesterday I got a bug for latest Big Sur updates.. I fire up a VM that's slightly older and upgrade it to the latest Big Sur version to verify it is indeed an issue in this version only. You can also take that Windows 10 VM that runs on macOS Fusion and run it on VMware Workstation under Windows .. or Linux. This is exactly what I do when travelling. It is also easy to keep an encrypted version of your VM on a microSD card, so you have something to fall back on in case the laptop goes missing. There are too many advantages to not use it.
  5. Wil van Antwerpen

    VMWare Workstation PRO vs MS Hyper-V

    As others said, it is easy to make backups. It is also easy to experiment and share resources. Would like to run something that might potentially damage your setup? Not something I would do without extra precautions on a physical host. But on a VM? It is easy to experiment. Take a snapshot, do it anyways. If it was as bad as you guessed, roll back the snapshot, otherwise commit the snap. With backups that takes time to restore, with a snapshot it can all be done within the minute, including roll back and/or commit. Another scenario I used in the past was where I had to support a multitude of database back ends for a client (Oracle/MSSQL/mySQL/PostgreSQL) Each SQL server was installed in its own VM. Need to support multiple versions of MySQL? No problem, add a VM. On a physical host this can get messy and with all the SQL servers each could burn through resources even when not using. Yes you can mess with starting/stopping services as an alternative, it really all depends on your needs on what is the better choice. Also moving any of those VMs to a bigger host at any time (scale up/scale out) is easy. re. slow/fast. I've run tests with development VMs on my MBP against physical host installs (server class, similar CPU type but xeon, SAS RAID) and the difference was negligible. On 2 minute compile times, testing the exact same project, the difference was seconds. Once the VM had 2 vCPU's or more assigned, it was about as fast as the Windows setup on a physical host. The kicker? I had 4 more VMs actively running on that MBP when running those tests. It is also easy to do things like kernel debugging. You can connect two VM's via the virtual serial port all on the same host. Does this mean VM's are always better? No, there are workloads that will always benefit when running at a physical host. Audio low latency, video editing, games... they all do better on physical.
  6. Wil van Antwerpen

    VMWare Workstation PRO vs MS Hyper-V

    Don't know about Hyper-V, but on VMware Workstation, hold down Ctrl+Alt and then Alt-Tab should work. On Fusion that would be Ctrl+Command followed by Alt-Tab. Although on the latter -when in full screen- I prefer to use a 4 finger trackpad swipe left/right between desktops. Using that all the time to switch between VM's and host.
  7. Wil van Antwerpen

    macOS missing redist OSX64 folder

    Thanks, I've reverted my workaround and instead used the batch file solution from the first RSP. FWIW, it created the exact same files in the OSX64 redist folder except for the following files (they are still missing, not sure if that is correct, but somehow I believe the batch file better than my previous guess work) - bpldbtest.dylib - bplEMUVCLHelper270.dylib - bplrtl270.dylib.dSYM I guess I will find out over time.
  8. Wil van Antwerpen

    VMWare Workstation PRO vs MS Hyper-V

    Hi, That is correct, see also: https://communities.vmware.com/t5/VMware-Workstation-Pro/Shared-VMs-are-back-in-Workstation-16-1/td-p/2811423 Even if it doesn't come back, I have a product for that (Vimarun, you can find it via the link in my footer) written in Delphi of course 😉 . It does not only take care of auto start, but also auto suspends your VM(s) on shutdown. As for what product to use... Don't really ask me as I'm a long time VMware user that even has a few VMware related products and is an active user moderator at their forums. VMware Workstation / Fusion / Player and vSphere have always worked very well for me. However I strongly believe that you should use what works for you. Hyper-V, Virtualbox, KVM, Parallels etc.. are all very mature as well.
  9. Wil van Antwerpen

    macOS missing redist OSX64 folder

    Hi, FYI, in case somebody else bumps into this as well. I think I have seen this before and reported it at the previous delphi forum, which now has disappeared. Just upgraded to 10.4.2 and when building my project I got this warning: [dccosx64 Hint] H2596 ld: warning: directory not found for option '-Lc:\program files (x86)\embarcadero\studio\21.0\redist\OSX64' and sure enough that folder does not exist, also for the record no OSX32 folder under the redist folder. I only installed windows and macOS, none of the mobile options, so that might be a reason that it is missing (it shouldn't but ok), also What I did now is to copy the contents of c:\program files (x86)\embarcadero\studio\21.0\binosx64 to the redist\OSX64 folder. Not sure if that's the right thing to do, but it will at the very least fix the warning. -- Wil
  10. Wil van Antwerpen

    Choose a Folder dialog

    Hi, I have that same code and don't see a crash, not sure what else is different. re. the StrtoNSStr, you have to use the correct module for it to be recognized. If I'm not mistaken it is in: Macapi.Helpers, re. suggestion from f.m. thanks for the tip, I will check it out.
  11. Wil van Antwerpen

    Choose a Folder dialog

    Hi, I'm basically using the following: http://www.fmxexpress.com/select-directory-dialogs-in-delphi-xe8-firemonkey-on-windows-and-osx/ Just a little tweaked. -- Wil
  12. Wil van Antwerpen

    Delphi 10.4 : Unlock Windows by call to Windows API

    A credential provider might work, but you would implement that in C/C++ and then debug it via a remote debugger. Doing that in delphi would be very very painful. I think that a GINA DLL no longer works since Vista? I haven't checked, but you probably also need to get a special agreement with Microsoft or I would expect at least a kernel mode signing certificate requirement for this type of thing. Fun, but not for the faint of heart.
  13. Wil van Antwerpen

    Delphi 10.4 : Unlock Windows by call to Windows API

    I still think you're just going to waste a lot of energy on fighting the system here, but OK, your choice. You can enumerate the sessions for example: https://docs.microsoft.com/en-us/windows/win32/api/ntsecapi/nf-ntsecapi-lsaenumeratelogonsessions You can determine the secure desktop using: https://stackoverflow.com/questions/4260878/openinputdesktop-to-determine-secure-login-desktop Then there's WTSQueryUserToken to get a user's token and https://docs.microsoft.com/en-us/windows/win32/api/securitybaseapi/nf-securitybaseapi-impersonateloggedonuser?redirectedfrom=MSDN to use that. Good luck!
  14. Wil van Antwerpen

    Delphi 10.4 : Unlock Windows by call to Windows API

    I mean that the secure desktop cannot be programmatically controlled from another session and desktop. This is a security measure in Windows and not even a system user can get around that.
  15. Wil van Antwerpen

    Delphi 10.4 : Unlock Windows by call to Windows API

    There's no supported way to do what you want and that's a good thing.
×