Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: XN Resource Editor



Permlink Replies: 12 - Last Post: Jan 14, 2016 1:40 PM Last Post By: Carl-Henrik Nil...
Adem Meda

Posts: 495
Registered: 12/28/98
XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 13, 2016 2:45 PM
In the enclosed 7z file, there are 2 binaries (compiled with XE2):

1) XNResourceEditor32.exe
2) XNResourceEditor64.exe

As the names imply, the first one is a 32-bit (x86) exe, and the other one
64-bit (x64).

What's new:

1) Both binaries can edit 64-bit (i.e. PE32+ ) binaries. [ Thanks to Maël Hörz
(mh-nexus.de) for this as well as making the sources compilable with XE3.]

2) There was a bug in the original XNRE corrupting DCR files when modified and
saved. Corrected.

3) I have bumped the version to 2.0.0 due to some internal refactoring but
mostly to make sure people don't confuse this/these with other publicly
available binaries.

Anyway, I hope they will be useful to someone.
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 13, 2016 3:16 PM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
3) I have bumped the version to 2.0.0 due to some internal refactoring but
mostly to make sure people don't confuse this/these with other publicly
available binaries.

Is this compiled from the latest XNRE source? Because I was already using XNRE 3.1.1.1.

--
Remy Lebeau (TeamB)
Ralf Stocker

Posts: 121
Registered: 12/24/04
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 13, 2016 3:39 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Where can I find the source?

<Remy Lebeau (TeamB)> schrieb im Newsbeitrag
news:798185 at forums dot embarcadero dot com...
Adem Meda wrote:
3) I have bumped the version to 2.0.0 due to some internal refactoring
but
mostly to make sure people don't confuse this/these with other publicly
available binaries.

Is this compiled from the latest XNRE source? Because I was already using
XNRE 3.1.1.1.

--
Remy Lebeau (TeamB)
Adem Meda

Posts: 495
Registered: 12/28/98
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 1:00 AM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Remy Lebeau (TeamB) wrote:

Is this compiled from the latest XNRE source? Because I was already using
XNRE 3.1.1.1.

Are you sure about that 3.1.1.1 ?
Could it have been 1.3.x.x ?
Ulrich Gerhardt

Posts: 19
Registered: 4/1/01
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 1:22 AM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
Are you sure about that 3.1.1.1 ?
Could it have been 1.3.x.x ?
I have 3.0.0.1 here.

--
Best Regards,
Uli
Carl-Henrik Nil...

Posts: 53
Registered: 3/26/02
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 2:00 AM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
Remy Lebeau (TeamB) wrote:

Is this compiled from the latest XNRE source? Because I was already using
XNRE 3.1.1.1.

Are you sure about that 3.1.1.1 ?
Could it have been 1.3.x.x ?

Thanks for the new binaries!
It would be good to know which sources you used as there have been several different ones floating around.
Could it be these by any chance? - https://github.com/zuloloxi/XN-Resource-Editor

Note that the "latest old version" I've found and used is 3.1.1.1, so perhaps version 4 would be appropriate?
It has the new style Open/Save dialog, for instance, which is nice.
--
C-H
Adem Meda

Posts: 495
Registered: 12/28/98
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 2:33 AM   in response to: Carl-Henrik Nil... in response to: Carl-Henrik Nil...
Carl-Henrik Nilsson wrote:

Thanks for the new binaries!
It would be good to know which sources you used as there have been several
different ones floating around. Could it be these by any chance? -
https://github.com/zuloloxi/XN-Resource-Editor

Here is my story:

A few days ago, I imported MS Word 2013 OLB, and it created a DCR file. In
order to make sure that the new components will not clash with the ones Delphi
(XE2) already has, I renamed each with a suffix '2013'.

Naturally, I also needed to rename the icon names in the coresponding DCR file.

But, for some reason, XN RE created a blank DCR file when I tried to save the
file with renamed resources.

I needed working copy of the sources of XN RE to look into that.

I searched the Net, but didn't come across to the repo above
(zuloloxi/XN-Resource-Editor). Instead I saw a post by Maël Hörz mentioning
working on updating XNRE to work with PE32+ as well as updating the sources to
compile with newer RAD.

I asked Maël mail if I could have a copy of the modified/updated sources, and
he did kindly let me have one.

I studied the sources and corrected what was corrupting my DCR file and
organized the rest of the stuff a bit to make it more suitable to my taste,
plus did a few more modifications for 64bit compilation.

That's basically all.

I didn't ask Maël what version he had based his sources on; and unless he sees
this thread and decides to chime in, I don't really want to pester him for this
information.

Note that the "latest old version" I've found and used is 3.1.1.1, so perhaps
version 4 would be appropriate? It has the new style Open/Save dialog, for
instance, which is nice.

v4.0 sounds like a good idea. Would you suggest I upload new binaries compiled
as v4.0?
Carl-Henrik Nil...

Posts: 53
Registered: 3/26/02
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 4:34 AM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
v4.0 sounds like a good idea. Would you suggest I upload new binaries compiled as v4.0?

Yes, with the more user friendly new style Open/Save dialogs (it just needs a manifest.)
Don't think 3.1.1.1 and 3.0.0.1 differ much at all.
--
C-H

Edited by: Carl-Henrik Nilsson on Jan 14, 2016 7:57 AM
Adem Meda

Posts: 495
Registered: 12/28/98
Re: XN Resource Editor [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 8:19 AM   in response to: Carl-Henrik Nil... in response to: Carl-Henrik Nil...
Carl-Henrik Nilsson wrote:

Yes, with the more user friendly new style Open/Save dialogs (it just needs a
manifest.)

Never used manifests before?

Where do I get one, of how do I make one for the dialogs?
Carl-Henrik Nil...

Posts: 53
Registered: 3/26/02
Re: XN Resource Editor [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 1:40 PM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
Carl-Henrik Nilsson wrote:

Yes, with the more user friendly new style Open/Save dialogs (it just needs a
manifest.)

Never used manifests before?

Where do I get one, of how do I make one for the dialogs?

Simply enable runtime themes:
Project Options -> Application -> Enable Runtime Themes

After compile you can then check and see that you have the default manifest added to the exe as a resource item
by loading the exe into a second instance of the XNResourceEditor.
--
C-H
Adem Meda

Posts: 495
Registered: 12/28/98
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 3:13 AM   in response to: Carl-Henrik Nil... in response to: Carl-Henrik Nil...
Carl-Henrik Nilsson wrote:

Note that the "latest old version" I've found and used is 3.1.1.1, so perhaps
version 4 would be appropriate? It has the new style Open/Save dialog, for
instance, which is nice.

Where have you seen 3.1.1.1?

When I look at https://github.com/zuloloxi?tab=repositories

Her is what it says in the repo summary:

<summary>
xn_resource_editor
forked from stefansundin/xn_resource_editor
:dizzy: Unofficial mirror of XN Resource Editor v3.0.0.1.
Updated on Mar 10, 2015
</summary>

So, it is a fork of this one:

<summary>
https://github.com/stefansundin?tab=repositories
xn_resource_editor
:dizzy: Unofficial mirror of XN Resource Editor v3.0.0.1.
Updated on Oct 18, 2015
</summary>

This is where the trail ends.

Looking back to the sources I have, they do appear to be pretty much based on
one of these sources (or whatever the original one was).

So, it seems my sources are v3.x.

I have to mention one thing I find very odd: Every one of those sources mention
'www.wilsonc.demon.co.uk' as the origin of the sourses, even though that
site/domain has not been alive for a long time.
Carl-Henrik Nil...

Posts: 53
Registered: 3/26/02
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 4:46 AM   in response to: Adem Meda in response to: Adem Meda
Adem Meda wrote:
Where have you seen 3.1.1.1?

Don't remember.

When I look at https://github.com/zuloloxi?tab=repositories

Her is what it says in the repo summary:

<summary>
xn_resource_editor
forked from stefansundin/xn_resource_editor
:dizzy: Unofficial mirror of XN Resource Editor v3.0.0.1.
Updated on Mar 10, 2015
</summary>

So, it is a fork of this one:

<summary>
https://github.com/stefansundin?tab=repositories
xn_resource_editor
:dizzy: Unofficial mirror of XN Resource Editor v3.0.0.1.
Updated on Oct 18, 2015
</summary>

This is where the trail ends.

Looking back to the sources I have, they do appear to be pretty much based on
one of these sources (or whatever the original one was).

So, it seems my sources are v3.x.

I have to mention one thing I find very odd: Every one of those sources mention
'www.wilsonc.demon.co.uk' as the origin of the sourses, even though that
site/domain has not been alive for a long time.

You're now the latest link in the mysterious XNResourceEditor saga :-)
--
C-H
Adem Meda

Posts: 495
Registered: 12/28/98
Re: XN Resource Editor
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jan 14, 2016 11:59 AM   in response to: Adem Meda in response to: Adem Meda
These binaries are compiled to display version as 4.0.0
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02