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 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 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, 79 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)
Sponsored Links
  #2  
Old 12-12-2014, 09:06
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,190
Thanked 11,220 Times in 2,312 Posts
Razor12911 is on a distinguished road
Nice bro, you back?
Really miss your conversions with extreme compression.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
y_thelastknight (27-10-2015)
  #3  
Old 12-12-2014, 09:09
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 Razor12911 View Post
Nice bro, you back?
Really miss your conversions with extreme compression.
I have no more time for conversions
Reply With Quote
The Following 4 Users Say Thank You to peterf1999 For This Useful Post:
Carldric Clement (18-12-2014), RamiroCruzo (25-03-2016), Razor12911 (12-12-2014), y_thelastknight (27-10-2015)
  #4  
Old 18-12-2014, 01: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
Added the following functions to dll:
  • GetFileSize
  • GetFileSize64
  • LoadFileToBuffer
  • EncryptStr
  • DecryptStr
Reply With Quote
The Following 4 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (18-12-2014), arkantos7 (18-12-2014), Grumpy (24-01-2015), Razor12911 (08-01-2015)
  #5  
Old 24-01-2015, 03: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 functions to dll:
  • SaveFileFromBuffer
  • DiskVolumeInfo
  • GetFixedDrives
  • CheckDiskLabel
Reply With Quote
The Following 6 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (24-01-2015), arkantos7 (25-01-2015), Carldric Clement (24-01-2015), Grumpy (24-01-2015), pakrat2k2 (24-01-2015), Razor12911 (25-01-2015)
  #6  
Old 24-01-2015, 20:25
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,824
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Please if possible add TTimer function to compatibilize enhanced script to unicode standard version of inno setup.
Reply With Quote
  #7  
Old 25-01-2015, 04:54
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 LuisCésar82 View Post
Please if possible add TTimer function to compatibilize enhanced script to unicode standard version of inno setup.
I can't add a class (TTimer) through a dll.
To add a class we need the source code of inno setup standard modifying it and then recompile.
It's possible to create a function/procedure that could be used to made easier the use through a Win API SetTimer, KillTimer.
Reply With Quote
  #8  
Old 26-01-2015, 07:18
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 functions/procedures to dll:
  • CreateTimer
  • DestroyTimer
Reply With Quote
The Following 9 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (26-01-2015), arkantos7 (26-01-2015), Carldric Clement (26-01-2015), Cesar82 (09-06-2020), Grumpy (26-01-2015), mausschieber (26-01-2015), pakrat2k2 (26-01-2015), Razor12911 (01-02-2015), y_thelastknight (27-10-2015)
  #9  
Old 01-02-2015, 01:14
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,824
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by peterf1999 View Post
Added the following functions/procedures to dll:
  • CreateTimer
  • DestroyTimer
This was the functions I have tried specify. Thanks.

Would be interesting to join other dll functions in one dll.
e.g. add functions of some of these dll: VclStylesinno.dll, ISSkin.dll, MediaPlayer.dll, ImageAnimator.dll, isgsg.dll, GameuxInstallHelper.dll, FirewallInstallHelper.dll, InnoCallback.dll, bass.dll, ISTask.dll, botva2.dll, CallbackCtrl.dll,trayiconctrl.dll and other library in a single library.
That's just an idea.

Thanks
Reply With Quote
  #10  
Old 01-03-2015, 07:40
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 functions/procedures to dll:
  • TicksToTime
  • StartWatch
  • StopWatch
  • ResetWatch
  • PosReverse
Reply With Quote
The Following 6 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (01-03-2015), arkantos7 (01-03-2015), Cesar82 (23-03-2015), mausschieber (01-03-2015), Razor12911 (04-03-2015), y_thelastknight (27-10-2015)
  #11  
Old 04-04-2015, 13:54
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,190
Thanked 11,220 Times in 2,312 Posts
Razor12911 is on a distinguished road
yup, this should be called the dream dll. everything useful is there.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
peterf1999 (12-04-2015), y_thelastknight (27-10-2015)
  #12  
Old 26-10-2015, 08:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,190
Thanked 11,220 Times in 2,312 Posts
Razor12911 is on a distinguished road
Yup, you are really tired of using other people's dlls by force. Nice! I'll wait for imgsetvisiblepart, this function is buggy in botva and layered, can't wait to try yours.
Reply With Quote
  #13  
Old 26-10-2015, 10:11
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 Razor12911 View Post
Yup, you are really tired of using other people's dlls by force. Nice! I'll wait for imgsetvisiblepart, this function is buggy in botva and layered, can't wait to try yours.
You can use SetImgPosSize procedure (set image position & size)

Code:
imgidx:=loadimage(ExpandConstant('{tmp}\progressbar.png'),WizardForm.Handle,100,100,30,0,IMF_Crop); // use Crop flag



DrawImages(WizardForm.Handle); // Draw progress bar width on client area at 0  



SetImgPosSize(imgidx,100,100,30,10);  // Increment visible progress bar width from 0 to 10 pixels
Reply With Quote
The Following 2 Users Say Thank You to peterf1999 For This Useful Post:
RamiroCruzo (27-10-2015), Razor12911 (26-10-2015)
  #14  
Old 26-10-2015, 10:36
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,190
Thanked 11,220 Times in 2,312 Posts
Razor12911 is on a distinguished road
I was referring to the function that lets you set a region on the picture to be visible.
Reply With Quote
  #15  
Old 27-10-2015, 01: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
Quote:
Originally Posted by Razor12911 View Post
I was referring to the function that lets you set a region on the picture to be visible.
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';
Reply With Quote
The Following 2 Users Say Thank You to peterf1999 For This Useful Post:
RamiroCruzo (27-10-2015), Razor12911 (27-10-2015)
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 21:34.


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