|
#18
|
|||
|
|||
|
[Setup]
AppName=My Program AppVerName=My Program v 1.7 DefaultDirName={pf}\My Program OutputBaseFilename=example OutputDir=. [Languages] Name: russian; MessagesFile: compiler:Languages\Russian.isl [Code] type TSystemInfo = record wProcessorArchitecture: Word; wReserved: Word; dwPageSize: DWORD; lpMinimumApplicationAddress: Integer; lpMaximumApplicationAddress: Integer; dwActiveProcessorMask: DWORD; dwNumberOfProcessors: DWORD; dwProcessorType: DWORD; dwAllocationGranularity: DWORD; wProcessorLevel: Integer; wProcessorRevision: Word; end; procedure GetSystemInfo(var lpSystemInfo: TSystemInfo); external '[email protected] stdcall'; procedure InitializeWizard(); var SysInfo: TSystemInfo; Threads: Integer; begin GetSystemInfo(SysInfo); Threads:= SysInfo.dwNumberOfProcessors; SetIniString('Afr', 'Threads', IntToStr(Threads), ExpandConstant('{tmp}\cls.ini')); end; |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fast Zlib Recompressor by Razor12911 (*Test*) | panker1992 | Conversion Tutorials | 25 | 27-04-2016 06:22 |
| Hunted The Demons Forge 2xDVD5 | mesut28 | PC Games - CD/DVD Conversions | 14 | 24-01-2016 07:33 |
| Hunted The Demon's Forge (1x DVD5) *INNO+FreeArc* | peterf1999 | PC Games - CD/DVD Conversions | 18 | 24-12-2012 04:06 |
| about battle forge hacks. | shlomi8780 | Game Trainers | 0 | 25-06-2009 05:14 |
| Forge of freedom | Leemarvin | PC Games | 3 | 31-01-2007 18:37 |