PDA

View Full Version : Task Create Plugin does not work with ehshell.exe on Win7 x64?



jndreu
February 8th, 2012, 08:44 PM
I have previously been using the Task Create plugin to generate events when Windows Media Center launches and closes. Using the event strings "ehshell.exe [CREATE]" and "ehshell [CLOSE]" respectively. This was working fine on my Win7 x86 machine but when I try to do the same on a win7 x64 box, Girder does not see any events when MCE is launched or closed. Other events are still being generated when other applications like Internet Explorer are launched for example.

Is there an issue with Task Create plugin seeing MCE launch/close events in Win7 x64? Is there a workaround I can use to still be able to determine when this application is opened and closed?

jndreu
February 11th, 2012, 10:50 PM
Can anyone help me out on this one? Please? :-)

jndreu
February 14th, 2012, 06:11 PM
I did a bit more digging and what I have discovered is that the Task Create plugin does not detect the create/close events for ANY 64-bit applications.

I am making this conclusion based on observations in the windows task manager. Any task running with a "* 32" next to the name is detected by Girder. I assume the "* 32" means "32-bit app". Any application I run that does not have this "* 32" designation next to in in the Windows task manager is NOT detected by Girder. Windows Media Center seems to be running as a native 64-bit app so Girder is not seeing the task properly.

I was under the impression that Girder was fully compatible with 64-bit Windows 7 but it appears this is not the case?

Can the development team please comment on this and if there is any workaround to this issue? I am stuck without any workaround at the moment and I rely heavily on this plugin to work.

Thanks!

Ron
February 14th, 2012, 06:48 PM
Yep that could well be. Win64 and Win32 apps are separated and cannot see or control each other. I'll see if there is a way to proxy some of those things.

jndreu
February 14th, 2012, 07:42 PM
Great, thanks Ron. I look forward to your reply, hopefully with some good news!

jndreu
February 16th, 2012, 09:03 PM
Hi Ron, any luck finding a solution to this problem?

Ron
February 16th, 2012, 09:51 PM
I have a solution. Implementing it is another thing :) I've got some time craved out for this tomorrow.

jndreu
February 17th, 2012, 01:18 PM
Thank you!

Ron
February 17th, 2012, 07:29 PM
FYI. I am working on this hopefully I'll have something ready next week. This is not a small change as you might imagine. I have to implement a proxy crossing the 32/64 bit boundary. Now I would like to do this in a way that allows me to solve the other 64bit control issues as well so I'm trying to do this right,.. not quick.

jndreu
February 17th, 2012, 08:00 PM
Much appreciated... I will wait!

jndreu
February 23rd, 2012, 09:08 PM
Hello Ron, I just wanted to follow up and see how this fix is coming along?

Ron
February 24th, 2012, 03:37 PM
Thank you for your patience. As I said this is not a small project. Here is a first build of it. It runs on top of Girder 5.1 (Which you can find on the forum and is free for 5.0 owners). It currently implements the taskcreate and taskswitch plugins (in one). Once you enable the Win64 support plugin these are enabled and cannot be turned off until you disable the win64 plugin. This will change in the future but it's baked in for now. I just wanted to get you guys something to start playing with.

I've tested it against, notepad (64), calc (64) and Windows Media Center (ehshell 64) and stuff seems to work. There is a small readme with installation instructions included. Let me know if you have problems with it.

Obviously this code is only for 64 bit versions of Windows.

jndreu
February 25th, 2012, 08:50 PM
Thanks very much Ron for working on this. I will try it out as soon as I can and let you know how it goes.

Can I install 5.1 right over top of my 5.0 installation? It won't change or affect anything I already have running or any settings I currently have in place, correct?

Ron
February 26th, 2012, 12:09 PM
I suggest installing Girder 5.1 in a different directory. Just to be sure.