64-bit Preview

Features wanted...
admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

64-bit Preview

Post by admin »

FYI: The little .NET detour should be good for something, so I thought I try to write Preview64.exe in .NET now and see if I can cross the bitness boundary by remote controlling a container within XYplorer. Worth a try...

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: 64-bit Preview

Post by Filehero »

admin wrote: 17 Aug 2020 22:21 Worth a try...
Definitely. :tup:

Maybe some other interesting/feasible opportunities/ideas will arise thereby.

luciano_f
Posts: 9
Joined: 16 Aug 2020 14:01

Re: 64-bit Preview

Post by luciano_f »

Hello I am also a programmer for about 20 programs in Delphi and luckily Delphi even though it doesn't have a large community in the world has always been a tool that has evolved a lot, and today it is copying to various platforms such as Linux, MacOs, Android and everything in 32 Bits and 64 Bits, but I see this with a luck that I had to choose from Delphi, but the big problem of copiling on various platforms is that today Delphi is big and heavy, in order to run it I had to buy a Notebook with Core I9 processor + 32 GB of RAM with a 1 TB SSD because my old notebook could not cope with it anymore and was going to have a coffee, now after I buy this new machine things will work out perfectly.

Now one thing I see is that programs always tend to be born small and over time they evolve, never expect them to be big and powerful at the beginning.

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Yep, eternal growth and complication also characterizes the evolution of global tech-culture. New features beat questions of maintencance and sustainability. Ultimately humanity will not die from a war but from a bug. :)

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Looking good! The cross-bitness injection seems to work. It will take some more days but it looks like we'll have 64-bit previews for stuff that needs preview handlers (like Office files)... :beer: :D :party:

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Here is some proof of concept stuff.

The appended file, Preview64.exe, is a 64-bit .NET executable written in C#. If you place it where XYplorer.exe is, and then preview an Office file (or a PDF, or also some audio and movie formats), then this file should handle the preview and inject it into XYplorer's preview area. A window (owned by Preview64.exe) will pop up where you can (and should!) close the preview to exit it with good manners.

It appears to work here, but who knows. DOCX previews work pretty well, whereas PDF previews lack the scrollbars ( :roll: sigh).
Attachments
Preview64.zip
(9.22 KiB) Downloaded 87 times

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

UPDATE: scrollbars issue will be fixed in next version.

So, does any of you get a 64-bit preview for Office files now?

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: 64-bit Preview

Post by highend »

Works fine here. Office 2019 x64 tested with doc, docx, xls, xlsx, ppt and pptx.

It doesn't process .eml, right?
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Same here. EML does not seem to have a previewhandler on my system.

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: 64-bit Preview

Post by highend »

It does: CLSID_PreviewMime | Microsoft Internet Messaging API Resources | {92dbad9f-5025-49b0-9078-2d78f935e341}

If you enable it via the registry (e.g. https://www.winhelponline.com/blog/eml- ... r-windows/)
Windows Explorer does preview .eml messages in its preview pane
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

highend wrote: 24 Aug 2020 11:12 It does: CLSID_PreviewMime | Microsoft Internet Messaging API Resources | {92dbad9f-5025-49b0-9078-2d78f935e341}

If you enable it via the registry (e.g. https://www.winhelponline.com/blog/eml- ... r-windows/)
Windows Explorer does preview .eml messages in its preview pane
Nice, it works. :tup:

I made it so that it now even works in XY without that reg edit. :)

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: 64-bit Preview

Post by highend »

But please remove the window with the close button with the next release. Highly annoying and whoever uses this preview should know what he's doing...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

In this phase the close button is necessary to unload it without memory leaks.

ofc, the button will disappear soon. I just need to implement the interprocess communication, then everything will be smooth and automatic.

admin
Site Admin
Posts: 60595
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: 64-bit Preview

Post by admin »

Here is the new Preview64.exe with EML power:
Attachments
Preview64.zip
(9.44 KiB) Downloaded 73 times

highend
Posts: 13327
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: 64-bit Preview

Post by highend »

Works fine (both of them, the simple text and the office one)^^
One of my scripts helped you out? Please donate via Paypal

Post Reply