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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 04-08-2020, 22:02
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 596
Thanks: 599
Thanked 660 Times in 234 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
This code also works here.
Perhaps the implementation of some other function in the BLACKFIRE69 library may interfere with the callback (that may be it).
Your code cmd is very interesting for me.
If you just leave "uses Windows" in project, adding process message function and build with DELPHI 2010 the cmd.dll finally will be 33.0 KB (33,792 bytes) or 17.5 KB (17,920 bytes) using UPX level 9.
Thanks!
yeah you're right.
after that I just leave the "uses Windows" and create the process messages function like this:
Code:
function ProcMsg: boolean;
var
  msg: TMsg;
begin
  while PeekMessage(msg, 0, 0, 0, PM_REMOVE) do
  begin
    TranslateMessage(msg);
    DispatchMessage(msg)
  end;
  Result := false;
end;
the size of dll after build will be 51kb (51,712 bytes) then use with upx level 9 turns to 23kb (23,040 bytes). actually I use Delphi XE 10.3 Community Edition.

Last edited by Carldric Clement; 04-08-2020 at 22:08.
Reply With Quote
 

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
BlackBox v2 y_thelastknight Conversion Tutorials 567 11-03-2025 07:16
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
Useful Dll for Inno Setup users peterf1999 Conversion Tutorials 88 01-12-2017 16:00
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Nintendo new console in 05,06 ABCC GameCube Games 0 06-08-2003 23:55



All times are GMT -7. The time now is 08:09.


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