Quote:
Originally Posted by pakrat2k2
change PansiChar to PChar
ansi = pansichar
unicode = pchar
IF I remember it correctly, make backup of script, before making changes. test to see if it worked.
|
I tested it and Error: Unknown type PChar
Has at the beginning of the code.
Code:
#ifdef UNICODE
#define A "W"
#else
#define A "A" ;// точка входа в SetWindowText, {#A} меняется на A или W в зависимости от версии
#if Ver < 84084736
PAnsiChar = PChar; // Required for Inno Setup 5.3.0 and lower. (требуется для Inno Setup версии 5.3.0 и ниже)
#endif
#endif
#if Ver < 84018176
AnsiString = String; // There is no need for this line in Inno Setup 5.2.4 and above (для Inno Setup версий 5.2.4 и выше эта строка не нужна)
#endif
This is not enough?
Does not pass this line.
Code:
if GetDriveType(l[c]+':')=DRIVE_FIXED then
In image (Depuration Mode Inno) not load driver information. In Inno Setup Ansi Version work.

Note:This script is part of the script of the game The Witcher 2 by peterf1999.