Jump to content
CyberPeter

Hex Viewer

Recommended Posts

2 hours ago, aehimself said:

code for C++ projects

I needed to convert the class names to a TStyleHookClass, which is a TClass, by using __classid()

Vcl::Themes::TStyleManager::Engine->RegisterStyleHook(__classid(TATBinHex), __classid(TScrollingStyleHook)) ;

 

Edited by CyberPeter
  • Like 1

Share this post


Link to post
1 minute ago, limelect said:

I have been using TMPHexEditor, TMPHexEditorEx for ages

Cool.  Where can I find it ?

Share this post


Link to post
13 hours ago, limelect said:

This is Lazarus code.  That's a step too far for me 🙂
I Googled TMPHexEditor and downloaded it from SoftPedia.

Trying to compile that code resulted in the exact same errors found in https://github.com/zhugecaomao/HexEditor

which leaves me to believe they are the same (or one heavily borrowed from the other)(without doing some file compares, no point).

The code is simply too old, it predates UnicodeString able compilers.  I'm not fluent enough in Delphi to sort it all out.

If you have updated the *.pas file(s) to be able to compile them using recent compilers, and if you don't mind, please share. Thanks.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×