Get the system decimal delimiter: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.) |
m (SF: Joelito -> Joel.) |
||
Line 22: | Line 22: | ||
</highlight-nsis> | </highlight-nsis> | ||
Page author: [[User: | Page author: [[User:Joel|Joel]] |
Revision as of 17:42, 27 April 2005
The Script
OutFile "Tester.exe" Name "Tester" Caption "Tester" XPStyle "on" !define LOCALE_SYSTEM_DEFAULT 0x400 !define LOCALE_USER_DEFAULT 0x800 !define LOCALE_SDECIMAL 0xE !define MAX_PATH 260 Function ".onInit" System::Call "kernel32::GetLocaleInfoA(i ${LOCALE_SYSTEM_DEFAULT}, i ${LOCALE_SDECIMAL}, t .r0, i ${MAX_PATH}) i r1" MessageBox MB_OK|MB_ICONINFORMATION "This is your decimal delimiter -> $\"$0$\"" abort FunctionEnd Section "-boo" ; SectionEnd
Page author: Joel