|
|
|
#1
|
|||
|
|||
|
Quote:
after testing Logo ok (Thx) ![]() ![]() Splash does not launch ![]() ![]()
|
| The Following User Says Thank You to Stor31 For This Useful Post: | ||
Bilawal (20-04-2015) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Change
Code:
;#define Splash Code:
#define Splash Do this Code:
procedure InitializeWizard();
begin
#ifdef Splash
ExtractTemporaryFile('isgsg.dll');
ExtractTemporaryFile('splash.png');
ShowSplashScreen(0,ExpandConstant('{tmp}\splash.png'),1000,1000,1000,0,255,False,$FFFFFF,10);
#endif
RedesignWizardForm;
ExtractTemporaryFile('Click.wav');
ExtractTemporaryFile('music.mp3');
if BASS_Init(-1, 44100, 0, 0, 0) then
begin
SoundStream := BASS_StreamCreateFile(False,
ExpandConstant('{tmp}\music.mp3'), 0, 0, 0, 0,
EncodingFlag or BASS_SAMPLE_LOOP);
BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, 2500);
BASS_ChannelPlay(SoundStream, False);
SoundCtrlButton.Caption :=ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff}');
SoundCtrlButton.OnClick := @SoundCtrlButtonClick;
end;
end;
Code:
procedure InitializeWizard();
begin
RedesignWizardForm;
ExtractTemporaryFile('Click.wav');
ExtractTemporaryFile('music.mp3');
#ifdef Splash
ExtractTemporaryFile('isgsg.dll');
ExtractTemporaryFile('splash.png');
ShowSplashScreen(0,ExpandConstant('{tmp}\splash.png'),1000,1000,1000,0,255,False,$FFFFFF,10);
#endif
if BASS_Init(-1, 44100, 0, 0, 0) then
begin
SoundStream := BASS_StreamCreateFile(False,
ExpandConstant('{tmp}\music.mp3'), 0, 0, 0, 0,
EncodingFlag or BASS_SAMPLE_LOOP);
BASS_SetConfig(BASS_CONFIG_GVOL_STREAM, 2500);
BASS_ChannelPlay(SoundStream, False);
SoundCtrlButton.Caption :=ExpandConstant('{cm:SoundCtrlButtonCaptionSoundOff}');
SoundCtrlButton.OnClick := @SoundCtrlButtonClick;
end;
end;
Last edited by Bilawal; 20-04-2015 at 07:19. |
|
#3
|
|||
|
|||
|
[QUOTE=Bilawal;440021]Change
Code:
;#define Splash Code:
#define Splash ![]() ![]() Thxxxxxxxxx
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Graphic glitches with Catalyst 10.9 (HD4650) and some games | Myloch | General Gaming | 2 | 20-09-2010 16:02 |
| Problem with Catalyst 5.10 | jimbo82 | Hardware | 2 | 17-10-2005 18:47 |
| ATI Catalyst Drivers 5.10 released | spidross01 | Hardware | 5 | 17-10-2005 14:38 |