Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-12-2015, 07:18
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 595
Thanks: 599
Thanked 656 Times in 233 Posts
Carldric Clement is on a distinguished road
DLL: All In One Function & Procedure

All In One Function & Procedure

Description
Quote:
This is really awesome if you try this was no problem with
delphi
Code for Delphi
Code:
const
  LibraryAioFP = 'Aio_FP.dll';

procedure Website(URL: string); stdcall; external LibraryAioFP;
procedure Exec(sExe, sCommandLine: string; wait: Boolean); stdcall; external LibraryAioFP;
function SelDir: string; stdcall; external LibraryAioFP;
function IniRead(Filez, A, B, C: string): string; stdcall; external LibraryAioFP;
function IniCreate(Filez, A, B, C: string): string; stdcall; external LibraryAioFP;
procedure B_PlayMusic(Files: string); stdcall; external LibraryAioFP;
procedure B_PauseMusic; stdcall; external LibraryAioFP;
procedure B_ResumeMusic; stdcall; external LibraryAioFP;
procedure B_StopMusic; stdcall; external LibraryAioFP;
Code for Inno Setup:
Code:
procedure Website(URL: string); external 'Website@files:{tmp}\Aio_FP.dll stdcall delayload';
procedure Exec(sExe, sCommandLine: string; wait: Boolean); external 'Exec@files:{tmp}\Aio_FP.dll stdcall delayload';
function SelDir: string; external 'Exec@files:{tmp}\Aio_FP.dll stdcall delayload';
function IniRead(Filez, A, B, C: string): string; external 'IniRead@files:{tmp}\Aio_FP.dll stdcall delayload';
function IniCreate(Filez, A, B, C: string): string; external 'IniCreate@files:{tmp}\Aio_FP.dll stdcall delayload';
procedure B_PlayMusic(Files: string); external 'B_PlayMusic@files:{tmp}\Aio_FP.dll stdcall delayload';
procedure B_PauseMusic; external 'B_PauseMusic@files:{tmp}\Aio_FP.dll stdcall delayload';
procedure B_ResumeMusic; external 'B_ResumeMusic@files:{tmp}\Aio_FP.dll stdcall delayload';
procedure B_StopMusic; external 'B_StopMusic@files:{tmp}\Aio_FP.dll stdcall delayload';

function InitializeSetup(): Boolean;
begin
    ExtractTemporaryFile('Aio_FP.dll');
    ExtractTemporaryFile('Bass.dll');

    Result:= True;
end;

Last edited by Carldric Clement; 07-04-2026 at 13:25.
Reply With Quote
The Following 3 Users Say Thank You to Carldric Clement For This Useful Post:
Andrey167 (02-12-2015), JRD! (02-12-2015), Simorq (02-12-2015)
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
G Installer rinaldo Conversion Tutorials 33 02-05-2024 03:17
Blackbox Inno Setup Script Kurutucu Conversion Tutorials 1190 18-08-2019 22:43
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 16:00
Cant get inno setup to decompress archive during installation! surumanboy PC Games 16 29-05-2013 00:26



All times are GMT -7. The time now is 09:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com