Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Delphi nonVCL Anwendung lokalisieren (https://www.delphipraxis.net/143699-nonvcl-anwendung-lokalisieren.html)

himitsu 21. Nov 2009 17:14

Re: nonVCL Anwendung lokalisieren
 
SysUtils.Languages Delphi-Referenz durchsuchenLanguages

Zitat:

Zitat von Daniel G
Wie gesagt, hab schon lange keinen richtigen Parser mehr geschrieben. ;)

kannst mir gerne einen XPath-Parser schreiben :love:

Mithrandir 21. Nov 2009 17:19

Re: nonVCL Anwendung lokalisieren
 
Zitat:

Zitat von himitsu
kannst mir gerne einen XPath-Parser schreiben :love:

Nee, lass mal... :mrgreen:

turboPASCAL 21. Nov 2009 17:28

Re: nonVCL Anwendung lokalisieren
 
Zitat:

Und wir sind ja jetzt schon bei 64bit... :angel2:
...und deswegen nutzt die Explorer.exe unter Vischda & Windows Seven 32/64Bit intern MSDN-Library durchsuchenGetPrivateProfileString

Code:
...
 010271A5  50                              push   eax
 010271A6  53                              push   ebx
 010271A7  6814720201                      push   SWC01027214_shell
 010271AC 6808720201                      push   L01027208
 010271B1  FF157C110001                    call   [b][KERNEL32.dll!GetPrivateProfileStringW][/b]
 010271B7  8D85F4FDFFFF                   lea   eax,[ebp-0000020Ch]
 010271BD 50                              push   eax
 010271BE FF15FC170001                    call   [SHLWAPI.dll!PathRemoveArgsW]
 010271C4  8D85F4FDFFFF                   lea   eax,[ebp-0000020Ch]
 010271CA 50                              push   eax
 010271CB FF1500180001                    call   [SHLWAPI.dll!PathRemoveBlanksW]
 010271D1  8D85F4FDFFFF                   lea   eax,[ebp-0000020Ch]
 010271D7  50                              push   eax
 010271D8  FFD6                            call   esi
 010271DA 53                              push   ebx
 010271DB 8BF0                            mov   esi,eax
 010271DD FF15FC100001                    call   [KERNEL32.dll!lstrlenW]
:mrgreen:

Mithrandir 21. Nov 2009 18:24

Re: nonVCL Anwendung lokalisieren
 
Auch MS mach Fehler... :mrgreen:

Nu hab ich den Parser aber schon fertig. ;)


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:00 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz