Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 05/22/24 in Posts

  1. Uwe Raabe

    Stack Overflow Developer Survey for 2024

    I wonder if 42 would do, too...
  2. Lars Fosdal

    Stack Overflow Developer Survey for 2024

    Or Androids...
  3. Stack Overflow Developers Survey for 2024 is live https://stackoverflow.com/dev-survey/start Let's put Delphi on the map
  4. dummzeuch

    Any chance of getting a signed installer?

    I'm not going to buy a certificate just so I can sign my open source programs. But if anybody else wants to create a signed installer, go ahead. GExperts is open source after all. Just make sure you comply with the license.
  5. https://sourceforge.net/p/gexperts/bugs/378/
  6. Jim McKeeth

    Delphi on Surface Pro with Qualcomm CPU?

    The new Surface devices aren't shipping yet. I read there is a new emulation layer that is supposed to be faster, and frankly the last version was pretty good, so I'm optimistic. Will be nice to get an updated IDE and compiler though.
  7. msohn

    Cannot compilate ProjectGroup with dynamic library

    Contrary to the Windows platform, the linker for Android/iOS/macOS needs the .so/.dylib, so it must be available when you compile (and link) your project. A quick and easy solution is to put the .so in the $(Platform)\$(Config) folder of your project. There are numerous elaborate explanations out there on why this is the case with the external linkers used for other platforms, but unfortunately I can't locate one right now. But you also need to deploy the .so - that's what Jims post is referring to.
  8. Patrick PREMARTIN

    What do you think of "Local Global variables"

    Hi Just a question for me : why do you declare variables before the nested methods if this behavior disturbs you ?
  9. Stefan Glienke

    What do you think of "Local Global variables"

    I've seen this mentioned before yet I never found this to be true - at least not in recent (past decade) Delphi versions.
  10. Wow, I think my bullshit-meter just broke. Their marketing sounds like a non-technical managers dream.
  11. The product About page gives you an explanation. According to that page it is an automatized robot that can analyze and rewrite your code. In my experience that is a very bold claim.
  12. Dalija Prasnikar

    Stack Overflow Developer Survey for 2024

    The only correct answer is to write Oranges
  13. Lajos Juhász

    Stack Overflow Developer Survey for 2024

    It's not a Captcha it is a test for AI. Only advanced AI can fill this questionary.
  14. Lars Fosdal

    Stack Overflow Developer Survey for 2024

    It is a pretty lousy Captcha, I'd say.
  15. Lajos Juhász

    Stack Overflow Developer Survey for 2024

    Same question for me.
  16. I got the same question. But I didn't think of your answer. That's funny.
  17. DelphiUdIT

    Localization of VCL Dialogs

    I use simply this, limited to common standard system strings, of course this is a skeleton ... form the Main program you can use it in this way: TTraduzione.ChangeValues('IT'); unit uTraduzione; interface uses WinApi.Windows, System.SysUtils, Vcl.Consts; Type TTraduzione = Class public class procedure SetResourceString(const xOldResourceString: PResStringRec; const xValueChanged: PChar); public class procedure ChangeValues(Lingua: string = ''); End; implementation class procedure TTraduzione.SetResourceString(const xOldResourceString: PResStringRec; const xValueChanged: PChar); var POldProtect: DWORD; PLostProtect: DWORD; begin VirtualProtect(xOldResourceString, SizeOf(xOldResourceString^), PAGE_READWRITE, @POldProtect); xOldResourceString^.Identifier := NativeUInt(xValueChanged); VirtualProtect(xOldResourceString, SizeOf(xOldResourceString^), POldProtect, @PLostProtect); end; class procedure TTraduzione.ChangeValues(Lingua: string = ''); begin if Lingua = 'IT' then begin //Carica la lingua italiana SetResourceString(@SMsgDlgYes, '&Si'); SetResourceString(@SMsgDlgWarning,'Attenzione'); SetResourceString(@SMsgDlgError, 'Errore'); SetResourceString(@SMsgDlgInformation, 'Informazione'); SetResourceString(@SMsgDlgConfirm , 'Conferma'); SetResourceString(@SMsgDlgNo , '&No'); SetResourceString(@SMsgDlgOK , 'OK'); SetResourceString(@SMsgDlgCancel , 'Annulla'); SetResourceString(@SMsgDlgHelp , '&Aiuto'); SetResourceString(@SMsgDlgHelpHelp , 'Aiuto'); SetResourceString(@SMsgDlgHelpNone , 'Nessun aiuto disponibile'); SetResourceString(@SMsgDlgAbort , '&Termina'); SetResourceString(@SMsgDlgRetry , '&Riprova'); SetResourceString(@SMsgDlgIgnore , '&Ignora'); SetResourceString(@SMsgDlgAll , '&Tutto'); SetResourceString(@SMsgDlgNoToAll , 'N&o a Tutto'); SetResourceString(@SMsgDlgYesToAll , 'Si a &Tutto'); SetResourceString(@SMsgDlgClose , '&Chiudi'); end else if Lingua = 'EN' then begin //Carica la lingua inglese SetResourceString(@SMsgDlgYes, '&Yes'); SetResourceString(@SMsgDlgWarning,'Warning'); SetResourceString(@SMsgDlgError, 'Error'); SetResourceString(@SMsgDlgInformation, 'Information'); SetResourceString(@SMsgDlgConfirm , 'Confirm'); SetResourceString(@SMsgDlgNo , '&No'); SetResourceString(@SMsgDlgOK , 'OK'); SetResourceString(@SMsgDlgCancel , 'Cancel'); SetResourceString(@SMsgDlgHelp , '&Help'); SetResourceString(@SMsgDlgHelpHelp , 'Help'); SetResourceString(@SMsgDlgHelpNone , 'No Help Available'); SetResourceString(@SMsgDlgAbort , '&Abort'); SetResourceString(@SMsgDlgRetry , '&Retry'); SetResourceString(@SMsgDlgIgnore , '&Ignore'); SetResourceString(@SMsgDlgAll , '&All'); SetResourceString(@SMsgDlgNoToAll , 'N&o to All'); SetResourceString(@SMsgDlgYesToAll , 'Yes to &All'); SetResourceString(@SMsgDlgClose , '&Close'); end else if Lingua = 'ES' then begin //Carica la lingua spagnola SetResourceString(@SMsgDlgYes, '&Si'); SetResourceString(@SMsgDlgWarning,'Advertencia'); SetResourceString(@SMsgDlgError, 'Error'); SetResourceString(@SMsgDlgInformation, 'Información'); SetResourceString(@SMsgDlgConfirm , 'Confirmar'); SetResourceString(@SMsgDlgNo , '&No'); SetResourceString(@SMsgDlgOK , 'OK'); SetResourceString(@SMsgDlgCancel , 'Cancelar'); SetResourceString(@SMsgDlgHelp , '&Ayuda'); SetResourceString(@SMsgDlgHelpHelp , 'Ayuda'); SetResourceString(@SMsgDlgHelpNone , 'No hay ayuda disponible'); SetResourceString(@SMsgDlgAbort , '&Termina'); SetResourceString(@SMsgDlgRetry , 'Intentar &otra vez'); SetResourceString(@SMsgDlgIgnore , '&Ignorar'); SetResourceString(@SMsgDlgAll , '&Todos'); SetResourceString(@SMsgDlgNoToAll , 'N&o a todo'); SetResourceString(@SMsgDlgYesToAll , 'S&i a todo'); SetResourceString(@SMsgDlgClose , '&Cerrar'); end else begin .................... .................... .................... end; end;
×