View Single Post
  #249  
Old 16-03-2013, 13:53
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
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.
Reply With Quote