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

Reply
 
Thread Tools Display Modes
  #46  
Old 27-12-2015, 05:47
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 Posts
peterf1999 is on a distinguished road
Added the following procedure to dll:
  • RotateImg
Attached Files
File Type: 7z example.7z (787.5 KB, 109 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, 05:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,293
Thanks: 1,786
Thanked 8,300 Times in 1,838 Posts
Razor12911 is on a distinguished road
I wouldn't be surprised if you start adding animations. Great job mate.
__________________
Looking for something?
Visit the
Tutorial Index

Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
peterf1999 (08-01-2016)
  #48  
Old 08-01-2016, 02:17
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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, 100 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, 17:09
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 430
Thanks: 101
Thanked 632 Times in 186 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, 00:00
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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, 95 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 (14-01-2016), Razor12911 (16-01-2016)
  #51  
Old 16-01-2016, 06:37
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 Posts
peterf1999 is on a distinguished road
Added the following procedures/functions to dll:

Code:
procedure SetBtnEnabled(BtnIdx: integer; Enabled: Boolean); external '[email protected]:Isab.dll stdcall delayload';

function GetBtnEnabled(BtnIdx: integer): Boolean; external '[email protected]:Isab.dll stdcall delayload';

procedure SetBtnVisibility(BtnIdx: integer; Visibility: Boolean); external '[email protected]:Isab.dll stdcall delayload';

function GetBtnVisibility(BtnIdx: integer): Boolean; external '[email protected]:Isab.dll stdcall delayload';

procedure SetBtnTransparency(BtnIdx: Integer; BtnTransparency: Byte); external '[email protected]:Isab.dll stdcall delayload';

function GetBtnTransparency(BtnIdx: Integer): byte; external '[email protected]: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, 09:49
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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 '[email protected]:Isab.dll stdcall delayload';
function GetSysCur(const IDC: integer): DWord; external '[email protected]:Isab.dll stdcall delayload';
Attached Files
File Type: 7z example.7z (799.8 KB, 85 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, 17:37
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 269
Thanks: 345
Thanked 526 Times in 155 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, 08:58
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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, 04:39
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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, 11:43
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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 '[email protected]: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 09:28.
Reply With Quote
The Following 5 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (12-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, 05:48
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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 '[email protected]:Isab.dll stdcall delayload';
procedure GetBtnPosSize(BtnIdx: integer; var X,Y,Height,Width: integer); external '[email protected]:Isab.dll stdcall delayload';
procedure SetBtnCaption(BtnIdx,CaptionLeftOffset,CaptionTopOffset: integer; const Caption, FontName: Pansichar; Size: integer; const FontStyle: integer; AntiAlias,Shadow: boolean); external '[email protected]:Isab.dll stdcall delayload';
function GetBtnCaption(BtnIdx: integer): PAnsichar; external '[email protected]:Isab.dll stdcall delayload';
procedure SetBtnCaptionColor(BtnIdx:integer; DefaultCaptionARGB, HoverCaptionARGB, LBtnDownCaptionARGB, DisabledCaptionARGB,ShadowCaptionARGB :Cardinal); external '[email protected]:Isab.dll stdcall delayload';
Attached Files
File Type: 7z example.7z (826.5 KB, 56 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, 08:01
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 Posts
peterf1999 is on a distinguished road
Added the following function to dll:

Code:
function GetDirectXVersion: Pansichar; external '[email protected]: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, 11:32
peterf1999's Avatar
peterf1999 peterf1999 is offline
Die Hard Member
 
Join Date: Nov 2008
Location: Italy
Posts: 928
Thanks: 14
Thanked 963 Times in 234 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 '[email protected]: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, 54 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, 12: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 267 Times in 90 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 Setup: Additional Libraries altef_4 Conversion Tutorials 47 16-08-2018 11:16
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 125 13-03-2016 18:39
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Tutorial using CI 8.0.0 yener90 Conversion Tutorials 424 21-10-2014 09:49



All times are GMT -7. The time now is 06:22.


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