|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Ansi Version
[CODE] function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external '[email protected] stdcall'; function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): boolean; external '[email protected] stdcall'; function InitializeSetup:Boolean; begin AddFontResource(ExpandConstant('{src}\font.ttf'),F R_PRIVATE,0); Result:=True; end; procedure DeinitializeSetup; begin RemoveFontResource(ExpandConstant('{src}\font.ttf' ),FR_PRIVATE,0); end; Unicode Version [CODE] function AddFontResource(lpszFilename:string;fl:dword;pdv:i nteger): Integer; external '[email protected] stdcall'; function RemoveFontResource(lpszFilename:string;fl:dword;pd v:integer): boolean; external '[email protected] stdcall'; function InitializeSetup:Boolean; begin AddFontResource(ExpandConstant('{src}\font.ttf'),F R_PRIVATE,0); Result:=True; end; procedure DeinitializeSetup; begin RemoveFontResource(ExpandConstant('{src}\font.ttf' ),FR_PRIVATE,0); end; |
| Sponsored Links |
|
#2
|
|||
|
|||
|
Quote:
Unknown indentifier "FR_PRIVATE" I do not understand why! Inno Setup 5.5.4 (u) oh.. Sorry resolved, I missed a signal ... Last edited by Emorian; 28-03-2014 at 04:46. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|