Jump to content

rvk

Members
  • Content Count

    169
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by rvk

  1. rvk

    Delphi or Lazarus/Free Pascal

    Which shortkey do you use for that in Delphi? Alt+Shift+- and Alt+Shift+= will fold and unfold at the cursor.
  2. rvk

    Delphi or Lazarus/Free Pascal

    Can't you find these in the options? Tools > Options > Editor > Key mappings (search for fold) Alt+Shift+1 / 9 and Alt+Shift+0 Or does this not do what you want?
  3. rvk

    Delphi Registration

    I was hoping it would only rename them on a succesful registration. Not on every failed registration. With a failed registration it would be useless to make a copy of an already non-working license-file. Bummer 😞 (BTW it doesn't delete .corrupted on every run of Delphi. I suggested it here to someone and they got it working, probably also after trying several times.)
  4. rvk

    Delphi Registration

    Like Lajos already mentioned... the license could also be bound to the username (on first run). Is your username also the same? (If not, try it with the correct username and hostname and rename the .corrupted again. The .corrupted could be the ones from before Delphi tried it with the new hostname.)
  5. rvk

    Delphi Registration

    Hey, you have the .corrupted files there. Have you tried copying the .corrupted files over the .cgb_license ones? (after securing the entire directory of course and after renaming the PC back to its original name)
  6. Pff. It's one of the reasons I still ship a RICHED20.DLL with my program. Although not advised (and even not allowed), the many versions of riched20.dll all have their own problems. If it's not alignment issues (resetting back to left align-tab after a right alignment tab) then it's some font issue (and there are lots of other issues). I was so fed up with it (I never knew which one was shipped with Windows and which one was loaded at the client) that I took one for which I knew what issues there were and could program against that.
  7. Have you tried this in BBInitClick RE.DefAttributes.name := 'Courier New'; RE.DefAttributes.size := 8; And alternatively this in add() RE.SelAttributes.name := 'Courier New'; RE.SelAttributes.size := 8; RE.SelText := myText; Sometimes SelAttributes are not hold after you have set SelText.
  8. Yikes. Mixing UTF8 (from direct source code) and Unicode is asking for trouble. And Alt+205... what is that? You need to work with exact correct encoding. Doing Alt+205 might insert a complete other character in the code editor. When I open your Unit1.pas, I get a square with a line through it for your "alt 205" character. Try this: add('DDD' + Widechar(#$2550) + Widechar(#$2550) + Widechar(#$2550) + Widechar(#$2550) + Widechar(#$2550) + 'DDD');
  9. rvk

    Delphi Starter License

    Yeah, that will do it. Rendering your version unlicensed. I found this: So you can see if renaming them back (after making a copy) will work.
  10. rvk

    Delphi Starter License

    And what does License Expiration Date say when running C:\Program Files (x86)\Embarcadero\Studio\19.0\bin\LicenseManagerLauncher? I thought the Starter editions were unlimited too (should say License Expiration Date: Unlimited in that case). Did you buy Starter or was this one of the free versions? Did something change on your computer (to make the license go bad)?
  11. rvk

    Delphi Starter License

    What do you mean by "support says"? You called them? Did you look on your registered products page yet? https://my.embarcadero.com/#registeredProduct
  12. Because, as far as I know, the installation of CE is done via a webinstaller and the exact (sub)version could have been changed. And one of these changes could be that the command line compiler isn't for CE anymore. Only way to know for sure is someone else freshly installs CE or Embarcadero gives clarity about this issue. Have you tried to ask this via support there?
  13. No, that wasn't the question. The question was if someone could send a working compuler dcc32.exe. No, the question was really the compiler exe. (Question was not from hsauro but from pawel)
  14. If Embarcadero decided there is no command line compiler anymore for the Community Edition then it's not allowed to use one from another version. That's why we need to know if the latest version still has a working command line compiler.
  15. Can you see if there is another version of dcc32.exe somewhere in C:\Users\Public\Documents\Embarcadero\Studio\18.0\CatalogRepository\ It seems that during installation a limited ide and compiler is installed which is replaced later on in the installation. If that fails (virusscanner?) the limited compiler stays behind. https://support.embarcadero.com/article/44692
  16. rvk

    Leak problem

    Are you using TIdHttpServer? (In the other topic you showed some code with just TIdHTTP) How do you measure the leak? with just FastMM4 or MadExcept? The topic you linked to mentioned FastMM doesn't report the leak but MadExcept does. So how is this problem the same as mentioned in that topic? What exactly is your leak, how does it show and what (minimal) code can you provide which reproduces this?
  17. rvk

    I solved my problem but

    The answer should also be very simple. Make sure to do IdHTTP.Free; within a finally block. Did you try that already??? And did you still have leaks ??? If you did and you still have leaks, the must come from somewhere else.
  18. rvk

    ICS Email and OAuth2

    Google never stated that plain passwords are not supported anymore altogheter. BUT they DID state that you own Google password can't be used anymore for mail (that was the "Less secure apps"-options). This change was implemented on May 30, 2022. If you have enabled 2FA you can still create an App password here: https://myaccount.google.com/security (just try it yourself, but you do need 2FA enabled on that account, so you can try it with your high security account :)) The steps are explained in this post: https://support.google.com/accounts/thread/163639845?hl=en&msgid=163700497 Other help page of Google for Signing in with App passwords: https://support.google.com/mail/answer/185833?hl=en-GB So... yes, Google has removed the "Less secure apps" options where you could still login with your Google username and Password, but the options of App passwords still remains and will continue to work because Google never stated that App passwords will go away.
  19. rvk

    ICS Email and OAuth2

    Just FYI. Once again (to eliminate any confusion). Google is not requiring OAuth2. You can still create app passwords and use them with your username for sending and accessing mail. OAuth2 is just another option (besides the app passwords) of doing it. App passwords work without any modification of existing code. OAuth2 is always handy if it's implemented but it isn't the only option for Gmail. Even after the change on May 30, 2022.
  20. rvk

    Windows XP App

    Do you have any (text-)search software. Like grep, notepad++, ScanFS or other? You can search the complete source directory (all *.pas and *.inc) for SetupDiGetDevicePropertyW. For example, I did: C:\Program Files (x86)\Embarcadero\Studio\19.0\source>grep -d SetupDiGetDevicePropertyW *.pas rtl\net\System.Win.Bluetooth.pas ): BOOL; stdcall; external SetupApiModuleName name 'SetupDiGetDevicePropertyW' delayed; C:\Program Files (x86)\Embarcadero\Studio\19.0\source> (or as attached in notepad++)
  21. rvk

    Windows XP App

    I see that Delphi 10.2 has a call to SetupDiGetDevicePropertyW in System.Win.Bluetooth. (in Embarcadero\Studio\19.0\source\rtl\net) @JDRenk Are you also using System.Win.Bluetooth by any chance (specifically TWinBluetoothLEDevice)?
  22. rvk

    Windows XP App

    Commercial component? Not sure where you can buy that. https://sourceforge.net/projects/comport/ https://torry.net/authorsmore.php?id=1809 Or are there others that are commercial?
  23. rvk

    Emails via Indy to Gmail

    Does the returnmail have a text attachment with the headers of your original mail? If so, does it have a (valid) messageID? Can you print that here?
  24. rvk

    sql query

    First: Ieks. Extended ascii characters in a table name? I wouldn't do that. Second: What is "FROM tablename := :A". Does that work in SQL? Can you parameterize a tablename in a query in ADO? Or did you mean "FROM tablename WHERE field := :A" ?
×