Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 27-10-2015, 01:55
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
shortage of examples, in botva and in many others there are a dozen examples with the library, so you do so, that many of us use your library so fast .. not think peterf1999
Reply With Quote
Sponsored Links
  #2  
Old 27-10-2015, 04:21
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
Quote:
Originally Posted by rinaldo View Post
shortage of examples, in botva and in many others there are a dozen examples with the library, so you do so, that many of us use your library so fast .. not think peterf1999
Did you read the exhaustive docs about functions/procedures on 1st page?
For sure, the use is not easy for inno's novice users.
Reply With Quote
  #3  
Old 27-10-2015, 04:53
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Quote:
Originally Posted by peterf1999 View Post
Did you read the exhaustive docs about functions/procedures on 1st page?
For sure, the use is not easy for inno's novice users.
I hope that your skills are better than your common sense
Reply With Quote
  #4  
Old 27-10-2015, 16:28
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by peterf1999 View Post
Code:
imgidx1:=loadimage(ExpandConstant('{tmp}\my.png'),WizardForm.Handle,0,0,450,750,IMF_Crop);
SetVisibleImgRgn(imgidx1,100,50,200,300);
DrawImages(WizardForm.Handle);
Code:
procedure SetVisibleImgRgn(ImgIdx,NewX,NewY,NewHeight,NewWidth: integer); 
external 'SetVisibleImgRgn@files:Isab.dll stdcall delayload';
ok, got it. should be working on something now.

Quote:
Originally Posted by rinaldo View Post
shortage of examples, in botva and in many others there are a dozen examples with the library, so you do so, that many of us use your library so fast .. not think peterf1999
I don't think examples are needed for this. I mean if you read the code section from the help file that comes with Inno Setup.
which reads "
The [Code] section is an optional section that specifies a Pascal script. A Pascal script can be used to customize Setup or Uninstall in many ways. Note that creating a Pascal script is not easy and requires experience with Inno Setup and knowledge about programming in Pascal or at least a similar programming language."
The reason I'm saying there is no need for example is because simple types are always there to guide you on how to use a function, if you had a little bit of knowledge of pascal/delphi, you would know what I'm talking about and what makes peterf not make examples.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
RamiroCruzo (27-10-2015)
  #5  
Old 27-10-2015, 21:23
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
razor... I did before opening the dll to read


peterf ...I found that it's a great project .. I noticed that the driver can not read DirectX .. what do you think of this option?

Last edited by rinaldo; 28-10-2015 at 07:37.
Reply With Quote
  #6  
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 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, 130 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)
  #7  
Old 31-12-2015, 05:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,181
Thanked 11,211 Times in 2,309 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)
  #8  
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 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)
  #9  
Old 08-01-2016, 17:09
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
too thirsty for CPU this library
__________________
if you understand read more
Reply With Quote
  #10  
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 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 (14-01-2016), Razor12911 (16-01-2016)
  #11  
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 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)
  #12  
Old 22-01-2016, 17:37
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 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)
  #13  
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 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)
  #14  
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 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)
  #15  
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 271 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


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 05:51
Inno Setup: Additional Libraries altef_4 Conversion Tutorials 50 21-10-2020 09:59
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 01:08.


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