Jump to content

PeterPanettone

Members
  • Content Count

    1346
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by PeterPanettone

  1. PeterPanettone

    Add a system-menu item to all applications?

    I have found a code example that works perfectly and gets a callback when clicking a system menu item in ANY application! It adds a system-wide hook to WM_SYSCOMMAND messages by using a DLL. (Unfortunately, it works only with 32-bit programs): AddSystemMenuItemToAnyApp2.zip I have tried to make it work with 64-bit applications by compiling the projects (EXE and DLL) as Windows 64-bit platform. I did not succeed. I made these changes in the DLL code: • THandle is different on the 64-bit platform: System.UInt64 • The error seems to be in the DLL code in the function Hookup in the line GetMsgProcRec^.Hwnd := Hwnd: Access violation at address 0000000003585C9F in Modul 'fwGetMsgProc.dll'. Reading from address 0000000000000000. • Also, in the EXE code, in the Button5Click handler I changed: @Hookup := GetProcAddress(hGetMsgProc, Pchar(LongInt(1))); to: @Hookup := GetProcAddress(hGetMsgProc, PAnsichar(LongInt(1))); But, as I said, I did not succeed: There is still the above-mentioned access violation in the DLL code. Could anybody with more experience have a look at the code and successfully compile it to 64-bit? The only code portions you would need to look at are: • The Button5Click handler in the EXE code • The DLL code which is just a few lines
  2. PeterPanettone

    Add a system-menu item to all applications?

    I don't know any official Delphi library which does process injection. Is there any?
  3. PeterPanettone

    Add a system-menu item to all applications?

    I created a test project (see attachment) which can add a system menu item to my own application or to any other application (tested with notepad: get the notepad window handle). However, reacting to the click event of the added system menu item works only when added to the own application. How can I make it sending a message to my application's window? AddSystemMenuItemToAnyApp.zip
  4. PeterPanettone

    How best to update from 10.3.1 to 10.3.2?

    I have downloaded: delphicbuilder10_3_2_496593b.iso • There is no information which of the newest patches and hotfixes I have to download and install after having installed delphicbuilder10_3_2_496593b.iso. • And why should I even bother to go to a website and search for the correct download link to download the ISO? A button in the (hypothetical) Delphi AutoUpdater should do that automatically for me. Every 12-year-old developer could create such a button and write the code to download the correct ISO or the WebInstaller accordingly.
  5. PeterPanettone

    Is Embarcadero a jigsaw puzzle game?

    I have Delphi Pro 10.3.1 with an active subscription. Since today is Sunday, I decided this could be a good day to upgrade my Delphi to the current version 10.3.2. Unfortunately, I discovered that the Delphi IDE About dialog does not have an Update/Upgrade button. So I visited the Embarcadero website and somehow found this page: maintenance.embarcadero.com In the Login form, I entered all the credentials one after the other I got from Idera/Embarcadero in the course of the years. None of them worked. Since there was a support link on the page I wasted a support case to ask for the credentials to use the maintenance.embarcadero.com service and I also asked for the download location of the Delphi 10.3.2 Installation ISO file. The answer came in a surprisingly short time. But it did not contain the desired download location but only a never-before-seen access-key to use the maintenance.embarcadero.com service. So with this access-key, I logged into the maintenance.embarcadero.com service page: Please note that the upgrade product was not the one I had requested (Delphi Pro 10.3.2) but Delphi XE8 Enterprise (a previously expired subscription). Anyway, I clicked the "Send Email" button and got an email containing a link: "Download your software here". After having clicked the link I arrived at a page which contained these download links: But since these are not the download links I requested: HOW CAN I SOLVE THIS JIGSAW PUZZLE GAME? (Without wasting another support case) (Or is this an Internet scavenger hunt?) UPDATE: After searching with Google, I only found the WebInstaller download: ID: 30880, RAD Studio, Delphi, C++Builder 10.3.2 Web Install After a lot more searching I found this: ID: 30883, RAD Studio, Delphi, C++Builder 10.3.2 ISO, but it contains both Delphi and C++ and it is a 7 GB download. Since I need only Delphi: Isn't there an ISO download containing only Delphi without C++ ?
  6. PeterPanettone

    Is Embarcadero a jigsaw puzzle game?

    Thanks for the information. But the email I got di not tell me whether this was installation support or not. So I rather have to assume it was not installation support.
  7. PeterPanettone

    How best to update from 10.3.1 to 10.3.2?

    A 12-year-old developer could do this in a few days. It is very simple: Do all the things programmatically the user does manually. I really don't see why this should be difficult.
  8. PeterPanettone

    Is Embarcadero a jigsaw puzzle game?

    I am happy to hear that. But the support person has sent me the wrong information. Is there installation support at Embarcadero which is able to send requested correct information?
  9. PeterPanettone

    Is Embarcadero a jigsaw puzzle game?

    Does anybody know the location for the DELPHI ISO download? (Without C++). I seem to remember that previous versions had this opportunity.
  10. PeterPanettone

    How best to update from 10.3.1 to 10.3.2?

    Normally, an app in its About dialog has an [Update/Upgrade] button which does everything automatically (maybe with a few option checkboxes). At least, this is standard UI. Why does the Delphi IDE not have this standard UI? Who is responsible for the design of the Delphi IDE UI?
  11. Is there an IDE addin to automatically change for example this: var I: Integer; into this: var I: System.Integer;
  12. I have filed a new bug report: https://sourceforge.net/p/gexperts/bugs/132/ This causes a crash when closing the Delphi 10.3.1 IDE:
  13. PeterPanettone

    Resolve a uses clause unit path?

    Example: A unit's uses clause contains a unit DSiWin32, for example: I know that the unit's file path is: F:\Users\Peter\Documents\Embarcadero\Studio\20.0\CatalogRepository\OmniThreadLibrary_3.07.6-Rio\src\DSiWin32.pas Question: Is there an easy function to extract this path from the Library paths of the current IDE? Example: MyPath := GetUnitPathFromCurrentLibrary('DSiWin32.pas');
  14. I am planning to buy a Mac Book Pro 15" with With Windows 10 Pro 64bit on Parallels and install the newest Delphi IDE in that Windows 10 Parallels VM. Are there any (compatibility) problems when running the IDE in a VM on Mac Book Pro? Any hints or recommendations?
  15. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    Can the same VMWare images on an external SSD be used BOTH from VMWare Workstation on a Mac and from VMWare Workstation on a Windows PC (of course not simultaneously)? That possibility would be a huge advantage over using Parallels.
  16. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    I suppose external SSDs are attached via Thunderbolt cables on a Mac Book Pro? And isn't Parallels better integrated into Mac OS than VM Ware Workstation?
  17. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    Running VMs with Windows 10 from an external SSD over a USB cable? Are you sure this would work?
  18. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    Definitely (from the official Apple configurator website)
  19. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    Yes, but the PC workstation hardware can be easily upgraded while the Mac Book Pro cannot.
  20. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    A competent person from the PC workstation area told me: "If you buy a Mac Book Pro (15", 4 TB SSD, 4 GB graphics card, 32 GB RAM) today for 6,000 Euro you will have to replace it maximally in 3 years (and pay another 6,000 Euro) because the hardware will be out-of-date". Is that true?
  21. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    Sorry for this question, but I am really asking myself whether the Apple community is some sort of mental institution and whether Apple can be a reliable business and technology partner? That's because yesterday I went to the local Apple store to ask a few technical questions about the Apple device I am planning to buy. But the employees there were technically incompetent. They couldn't even tell me the name of the current Mac OS (Mojave!). Then I asked for the connectivity with Windows networks, with computer displays, etc., but they couldn't give me competent answers. One Apple store employee made a rather crazy impression. So is Apple reliable and can Apple be trusted?
  22. PeterPanettone

    Running the IDE in a VM on Mac Book Pro?

    I am new to Mac. What is the Mac-share? Is that outside of the Windows 10 VM? So can the IDE inside the VM save/load files to/from outside the VM? What do you mean with "compile twice"?
  23. PeterPanettone

    Passing back a string from an external program

    Windows Messages is not complicated: Pass the window handle of Program1 as a parameter to Program2 which then sends the string back to Program1 as a Windows Message. Or - if Program2 is a console type program: Simply (programmatically) read the console output of Program2.
  24. Peganza has kindly released a patch for Pascal Expert 9.5.0.0 to make it work with Delphi 10.3.1 (previously it worked with Delphi 10.3.2). From the Peganza website: "Pascal Expert is a new plugin for Embarcadero's Delphi IDE (RAD Studio). It does a static analysis of your source code, to detect possible issues and errors in your code. The results will help you better understand and produce code of higher quality, consistency, and reliability. Pascal Expert sits right in the Delphi IDE, so it lets you find problems earlier, and fix them right on the spot!" You can read more about Pascal Expert here: https://www.peganza.com/find-bugs-early-with-pascal-expert.html I highly recommend Pascal Expert to optimize your code and make it potentially error-free.
  25. PeterPanettone

    The Embarcadero GetIt server could not be reached...

    Yes, it worked. Thanks.
×