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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
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)
Sponsored Links
  #2  
Old 04-04-2015, 11: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
Added the following function to dll:
  • GetFileVersionData
Reply With Quote
The Following 3 Users Say Thank You to peterf1999 For This Useful Post:
Cesar82 (05-04-2015), Razor12911 (04-04-2015), y_thelastknight (27-10-2015)
  #3  
Old 05-04-2015, 16:26
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 function to dll:
  • GetFileVersionData
Thanks for adding the "GetFileVersionData" function.

If the specified file does not exist (If not found) is crashing the program.

If the file does not exist could return empty results by default and default to 0.0.0.0 version.

I observed that the return is not unicode. Do not return unicode characters is possible.
I tested the executable file that is in the "Reg to INNO Converter.7z"
http://fileforums.com/showpost.php?p=410165&postcount=2
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
peterf1999 (12-04-2015)
  #4  
Old 11-04-2015, 12:16
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
Functions prototype changes:
function GetFileVersionData(Const FileName: String; Const FlgRes: integer): String;
function GetFileVersionData(Const FileName: PAnsiChar; Const FlgRes: integer): PAnsiChar;

GetFileVersionDataW (UNICODE) & GetFileVersionDataA (ANSI) added.
Reply With Quote
The Following 3 Users Say Thank You to peterf1999 For This Useful Post:
RamiroCruzo (27-10-2015), Razor12911 (11-04-2015), y_thelastknight (11-04-2015)
  #5  
Old 12-04-2015, 08:41
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
GetSysInfo procedure changes:

Now the procedure retrieves also the following properties :
  • CurrentHorizontalResolution
  • CurrentVerticalResolution
  • CurrentRefreshRate
Reply With Quote
The Following 3 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (13-04-2015), Razor12911 (12-04-2015), y_thelastknight (12-04-2015)
  #6  
Old 13-04-2015, 09:07
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
GetSysInfo procedure changes:
  • Now the procedure returns sound device name only if its current status is 'OK', otherwise a null string is returned (it means not working properly).
Reply With Quote
The Following 2 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (13-04-2015), Razor12911 (24-10-2015)
  #7  
Old 24-10-2015, 09:07
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:
  • GdiStartup
  • GdiShutdown
  • LoadImage
  • DrawImages
  • SetImgVisibility
Reply With Quote
The Following 6 Users Say Thank You to peterf1999 For This Useful Post:
altef_4 (25-10-2015), arkantos7 (25-10-2015), Grumpy (24-10-2015), RamiroCruzo (27-10-2015), Razor12911 (24-10-2015), y_thelastknight (24-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 10:15.


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