agressiv Posted December 12, 2007 Share Posted December 12, 2007 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 Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 12, 2007 Share Posted December 12, 2007 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. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
agressiv Posted December 12, 2007 Author Share Posted December 12, 2007 Didn't think about checking task manager. I've always been a command-line type of guy. And process explorer only re-emphasized it Anyways, thanks for the clarification, I'll look up the bitness-agnostic up since I'm not a coder. agressiv Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 12, 2007 Share Posted December 12, 2007 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. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
harold Posted December 17, 2007 Share Posted December 17, 2007 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 but yea I'm a noob so don't take my word for it Quote I would write plugins, if I knew what kind of plugins were needed.. Link to comment Share on other sites More sharing options...
Rick Brewster Posted December 23, 2007 Share Posted December 23, 2007 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. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.