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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
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,814
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
Sponsored Links
  #2  
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
  #3  
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)
  #4  
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,814
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
  #5  
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)
  #6  
Old 19-03-2015, 07:52
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:
  • CreateRgnFromBmp
  • CreateFormFromBmp
Reply With Quote
The Following 7 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (19-03-2015), Andrey167 (20-03-2015), arkantos7 (19-03-2015), mausschieber (19-03-2015), oltjon (19-03-2015), Razor12911 (20-03-2015), y_thelastknight (27-10-2015)
  #7  
Old 20-03-2015, 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
  • CreateFormFromBmp function prototype changed to:

Code:
CreateFormFromBmp(hWnd :HWND; const BmpFilename: PAnsiChar; ACPremultiplied: Boolean ): Integer;
Attached Files
File Type: 7z CreateRgnFromBmp_CreateFormFromBmp_Example.7z (811.1 KB, 178 views)

Last edited by peterf1999; 20-03-2015 at 12:26.
Reply With Quote
The Following 9 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (20-03-2015), arkantos7 (22-03-2015), Cesar82 (23-03-2015), ffmla (18-06-2017), JRD! (16-02-2016), lhanz678 (21-03-2015), oltjon (04-04-2015), Razor12911 (20-03-2015), y_thelastknight (27-10-2015)
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
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 00:03.


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