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

Reply
 
Thread Tools Display Modes
  #46  
Old 27-12-2015, 06:47
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following procedure to dll:
  • RotateImg
Attached Files
File Type: 7z example.7z (787.5 KB, 129 views)
Reply With Quote
The Following 5 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (08-01-2016), Grumpy (27-12-2015), JRD! (14-01-2016), Razor12911 (27-12-2015), y_thelastknight (30-12-2015)
Sponsored Links
  #47  
Old 31-12-2015, 06:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,104 Times in 2,296 Posts
Razor12911 is on a distinguished road
I wouldn't be surprised if you start adding animations. Great job mate.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
peterf1999 (08-01-2016)
  #48  
Old 08-01-2016, 03:17
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following procedure/function to dll:
  • CreatePie
  • UpdatePie
  • CreateArc
  • UpdateArc
Changes:
  • Renamed 'DrawImages' procedure to 'DrawToDC'
Attached Files
File Type: 7z example.7z (787.5 KB, 123 views)
Reply With Quote
The Following 5 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (08-01-2016), arkantos7 (10-01-2016), JRD! (14-01-2016), Logrim (08-01-2016), Razor12911 (08-01-2016)
  #49  
Old 08-01-2016, 18:09
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 694 Times in 190 Posts
rinaldo is on a distinguished road
too thirsty for CPU this library
__________________
if you understand read more
Reply With Quote
  #50  
Old 14-01-2016, 01:00
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following function to dll:
  • CreateBtn
Code:
const
  LButtonUp = 1;
  LButtonDown = 2;
  MouseOver = 4;
  MouseOut = 8;

type
TBtnEvent= procedure(BtnIdx,EventID: integer);

function CreateBtn(const FileName: PAnsiChar; Handle: HWND; X,Y,Height,Width: integer; callback: TBtnEvent): integer;
Attached Files
File Type: 7z example.7z (796.8 KB, 110 views)
Reply With Quote
The Following 5 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (14-01-2016), arkantos7 (14-01-2016), JRD! (14-01-2016), Logrim (15-01-2016), Razor12911 (16-01-2016)
  #51  
Old 16-01-2016, 07:37
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following procedures/functions to dll:

Code:
procedure SetBtnEnabled(BtnIdx: integer; Enabled: Boolean); external 'SetBtnEnabled@files:Isab.dll stdcall delayload';

function GetBtnEnabled(BtnIdx: integer): Boolean; external 'GetBtnEnabled@files:Isab.dll stdcall delayload';

procedure SetBtnVisibility(BtnIdx: integer; Visibility: Boolean); external 'SetBtnVisibility@files:Isab.dll stdcall delayload';

function GetBtnVisibility(BtnIdx: integer): Boolean; external 'GetBtnVisibility@files:Isab.dll stdcall delayload';

procedure SetBtnTransparency(BtnIdx: Integer; BtnTransparency: Byte); external 'SetBtnTransparency@files:Isab.dll stdcall delayload';

function GetBtnTransparency(BtnIdx: Integer): byte; external 'GetBtnTransparency@files:Isab.dll stdcall delayload';
Reply With Quote
The Following 4 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (16-01-2016), arkantos7 (17-01-2016), Razor12911 (16-01-2016), Simorq (16-01-2016)
  #52  
Old 21-01-2016, 10:49
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following procedure/function to dll:

Code:
procedure SetBtnCur(BtnIdx: integer; const FileName: PAnsiChar; CurHandle: DWord; const IFT_Cur: integer); external 'SetBtnCur@files:Isab.dll stdcall delayload';
function GetSysCur(const IDC: integer): DWord; external 'GetSysCur@files:Isab.dll stdcall delayload';
Attached Files
File Type: 7z example.7z (799.8 KB, 105 views)
Reply With Quote
The Following 6 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (21-01-2016), arkantos7 (21-01-2016), Cesar82 (22-01-2016), JRD! (16-02-2016), Razor12911 (26-01-2016), y_thelastknight (07-04-2016)
  #53  
Old 22-01-2016, 18:37
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,038
Thanks: 1,746
Thanked 2,224 Times in 761 Posts
Cesar82 is on a distinguished road
Thank you for library isab.dll.

It would be interesting if you could add multimedia playback
based on DirectShow.
Addicionar functions as in InnoMediaPlayer and ISMediaLib (By altef_4) in your Isab.dll library.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
peterf1999 (31-01-2016)
  #54  
Old 31-01-2016, 09:58
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Changes: v0.0.8.6

Fixed an issue with WM_LBUTTONDOWN and WM_LBUTTONUP message handler.
Now the buttons work properly.
Reply With Quote
The Following 6 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (31-01-2016), arkantos7 (31-01-2016), Logrim (31-01-2016), RamiroCruzo (31-01-2016), Razor12911 (31-01-2016), y_thelastknight (07-04-2016)
  #55  
Old 06-02-2016, 05:39
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Changes v0.0.8.7:
Fixed an issue with visibility (SetImgVisibility) of invalidated client area of rotated images.
Reply With Quote
The Following 7 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (06-02-2016), arkantos7 (06-02-2016), Cesar82 (10-02-2016), Logrim (06-02-2016), Razor12911 (17-02-2016), TheRePacker (06-02-2016), y_thelastknight (07-04-2016)
  #56  
Old 12-02-2016, 12:43
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Changes:
  • Renamed 'CheckFileSHA1' function to 'CheckFileHash'.
  • function prototype changes.
  • Added support for MD5, SHA256(SHA-2) hash algorithms.
Code:
const
  DCP_MD5 = 1;
  DCP_SHA1 = 2;
  DCP_SHA256 = 4; // SHA-2

Type
THashProgress = function(OverallProgress,FileProgress: Integer): Boolean;

function CheckFileHash(const Filename,HashHex: PAnsichar; PctOfTotal: integer; callback: THashProgress; DCP_Hash: integer): integer; external 'CheckFileHash@files:Isab.dll stdcall delayload';
Function return codes:

0: All OK.
-1: Hash check aborted.
-2: File hash does not match.
-3: Source File not found.
-4: Bad flag argument.

Last edited by peterf1999; 14-02-2016 at 10:28.
Reply With Quote
The Following 5 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (13-02-2016), arkantos7 (12-02-2016), Carldric Clement (13-02-2016), Razor12911 (17-02-2016), y_thelastknight (07-04-2016)
  #57  
Old 02-03-2016, 06:48
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Changes: v0.0.9.0:

Added the following procedure/function to dll:
Code:
procedure SetBtnPosSize(BtnIdx,X,Y,Height,Width: integer); external 'SetBtnPosSize@files:Isab.dll stdcall delayload';
procedure GetBtnPosSize(BtnIdx: integer; var X,Y,Height,Width: integer); external 'GetBtnPosSize@files:Isab.dll stdcall delayload';
procedure SetBtnCaption(BtnIdx,CaptionLeftOffset,CaptionTopOffset: integer; const Caption, FontName: Pansichar; Size: integer; const FontStyle: integer; AntiAlias,Shadow: boolean); external 'SetBtnCaption@files:Isab.dll stdcall delayload';
function GetBtnCaption(BtnIdx: integer): PAnsichar; external 'GetBtnCaption@files:Isab.dll stdcall delayload';
procedure SetBtnCaptionColor(BtnIdx:integer; DefaultCaptionARGB, HoverCaptionARGB, LBtnDownCaptionARGB, DisabledCaptionARGB,ShadowCaptionARGB :Cardinal); external 'SetBtnCaptionColor@files:Isab.dll stdcall delayload';
Attached Files
File Type: 7z example.7z (826.5 KB, 74 views)
Reply With Quote
The Following 3 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (02-03-2016), arkantos7 (02-03-2016), Razor12911 (06-03-2016)
  #58  
Old 12-03-2016, 09:01
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Added the following function to dll:

Code:
function GetDirectXVersion: Pansichar; external 'GetDirectXVersion@files:Isab.dll stdcall delayload';
Reply With Quote
The Following 4 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (12-03-2016), arkantos7 (12-03-2016), RamiroCruzo (13-03-2016), y_thelastknight (07-04-2016)
  #59  
Old 14-03-2016, 12:32
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 983 Times in 236 Posts
peterf1999 is on a distinguished road
Changes v.0.0.9.2:
  • GetDirectXVersion function prototype changes.
Code:
const
  Dx_Gpu = 1; // DirectX supported by GPU
  Dx_Sys = 2; // DirectX installed on system

function GetDirectXVersion(const F_Dx: integer): Pansichar; external 'GetDirectXVersion@files:Isab.dll stdcall delayload';
Windows 7 Ultimate x64:

W7.PNG

Windows 10 Pro x64:

W10.JPG
Attached Files
File Type: 7z GetSysInfo_GetDirectXVersion.7z (620.2 KB, 77 views)
Reply With Quote
The Following 4 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (16-03-2016), arkantos7 (15-03-2016), BAMsE (23-03-2016), y_thelastknight (07-04-2016)
  #60  
Old 23-03-2016, 13:42
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 344
Thanks: 49
Thanked 270 Times in 91 Posts
BAMsE is on a distinguished road
I can't create more than one timer with CreateTimer function. Only last defined TTimerProc is executed with the smallest Timeout defined:
Code:
ButtonCB := CreateTimer(10, @ButtonAction;
EqualizerCB := CreateTimer(100, @EqualizerAction);
In this case only EqualizerAction is executed with 10ms interval
Reply With Quote
The Following User Says Thank You to BAMsE For This Useful Post:
peterf1999 (24-03-2016)
Reply

Thread Tools
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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 06:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 10:59
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 07:57
Tutorial using CI 8.0.0 yener90 Conversion Tutorials 424 21-10-2014 10:49



All times are GMT -7. The time now is 19:14.


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