iana wrote:I Didn't think this dll would work under XP but it does, anyway can you tweak the VC11 project file so the min required OS version isn't set to 6.0 but to 5.01

I'll look at this. Should not be a problem, but, I never did this before. If you are aware, would you please advise what property/configuration of the project should be tweaked?

iana wrote:What font are you using, how about an option to change the font, maybe try a Monospaced font?

Currently, the plugin uses system stock fonts. For ANSI - ANSI_FIXED_FONT and for ASCII - SYSTEM_FIXED_FONT. They are supposed to be Monospaced. Don't you see a fixed font output on your system?

I also think that it would be preferred to use natural lister fonts for this purpose. I have asked related question at topic ?t=16547 (I have no permission to post URL yet). I am waiting for a reply on it...

I'll look at this. Should not be a problem, but, I never did this before. If you are aware, would you please advise what property/configuration of the project should be tweaked?

I don't have vs2012 but in the old versions you could set the OS version 2 ways
1. using a command line option adding these two values /D "WINVER=0x0501" /D "_WIN32_WINNT=0x0501" in the compiler options in visual studio, right-click the project select Configuration Properties->C/C++->Command Line and paste that line there
2. in the stdafx.h you can define the minimum OS that's to be supported, add these 2 definitions
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501
It might be better to use 0x0500 (aka 2k) but VS 2012 doesn't support 2k, and it supports XP only with SP1 installed.
As you're building a 64bit dll too don't forget to add an if before defining the WINWER to 0x0501
#if defined(WIN32)
..
#endif
It might be easier to use the command line project options and use the /D switch to define win32 to 0X0501 for the 32bit build and don't edit the include files.

About the font, it maybe the font I've selected in lister, I'm not sure what font it is, it doesn't look monospaced but it could be, the size is too small,
here's a screenshot of your plugin viewing a linux application, the font is hard to read
Image: http://i.imgur.com/R3zcb.png

edit: after staring at the font I see it is a monospaced font but personally I don't like it it's too small.

ps. About posting links I think you need to be a member a week or two or have 5 posts but you'll be there soon, and the author reads these pages regularly so you'll probably get an answer soon.

iana wrote:
1. using a command line option adding these two values /D "WINVER=0x0501" /D "_WIN32_WINNT=0x0501" in the compiler options in visual studio, right-click the project select Configuration Properties->C/C++->Command Line and paste that line there

Thank you for the advice. I am using these settings for a new lister plugin AnyCmd (which will be announced soon) and for future versions of AnyELF.

Thank you very much for providing this ELF file. The problem was confirmed - a .note.GCC-command-line section of this file contains data in unusual format. It is just one single string not prepended with name and description sizes as it should in accordance to NOTE section format. This problem cannot be fixed, but code preventing the crash was added to ELFIO library.

An updated TC plugin availability will be announced shortly.

BTW, readelf utility is also not happy with the file and gives a warning:
readelf: Warning: note with invalid namesz and/or descsz found at offset 0x0

readelf shows an error when a dynamic section is missing but still shows NEEDED shared libraries but the plugin does not show it. This might not be adhering to the ELF standard but it would be helpful to replicate what readelf shows in the plugin.

I'm having a problem with this plug-in when trying to view a file compiled with Lazarus (well, lazbuild to be precise) on an x86_64 architecture. The executable itself is pretty large (~30 megs long) and Total Commander hangs without producing any output when I try to view it using AnyELF. Could you take a look at it please?