Jump to content

paint.net - still x64?


agressiv

Recommended Posts

I noticed now that on my x64 Vista box, PaintDotNet.exe is 32-bit.

C:\Program Files\Paint.NET>filever PaintDotNet.exe

--a-- W32i APP - 3.10.2791.35943 sh 901,120 08-23-2007 paintdotnet.exe

Well I figured maybe it was like Sysinternals stuff and it extracts the x64 version out of the x86 version, but all I'm seeing is the 32-bit version, even in process explorer.

Now there is a Shell Extension that is x64 (probably for the right-click context menu) and some "squish" dll.

Did you guys abandon the x64 build? Admittedly I haven't checked since the 2.x days, but I could have sworn it was an x64 exe back then...

agressiv

Link to comment
Share on other sites

You do realize that you can run the EXE and Task Manager will tell you whether it's 32-bit? It's only 32-bit if it has a *32 next to it. I don't know why you're using a command-line tool to determine this stuff :) It's actually a .NET "bitness-agnostic" executable. It's 1 exe for both 32-bit and 64-bit.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Aha, I see. All the evidence was pointing to 32-bit ...

The .NET executables work a little differently. I'm not sure how they have 1 exe that can be executed in either manner, but... they do.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I'm not sure, but I think..

.NET code is saved as described in ECMA 335 (CLI) which has stack-based instructions and fancy meta-data, which is JIT-ed or NGen-ed to either 32bit or 64bit code (Paint.NET gets NGen-ed doesn't it?)

Things like IntPtr suddenly change size when used in 64bit, so it had better not be casted to an Int32 :lol:

but yea I'm a noob so don't take my word for it

I would write plugins, if I knew what kind of plugins were needed.. :(

Link to comment
Share on other sites

Right but it still shows that Windows does not "hoist" an executable into a process of a specific bitness until a later point than you might originally think.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...