topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 10:05 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: New Version  (Read 12514 times)

piedone

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
New Version
« on: March 25, 2005, 03:39 AM »
Hi!!
Just did some tests on the new version. It works now. Shortcuts, everything. What was the problem? Could you find that out? :)
So far so much!! Thanks anyway. let me know if you need to know anything else.  I am also...a programmer. If you need a hand :), let me know.
I will keep testing. But it looks already good.

piedone

ps - in my opinion, find&run kicks the google desktop search somewhere...:).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New Version
« Reply #1 on: March 25, 2005, 04:08 AM »
here's what i can tell you about the fix to shortcuts,
there is a windows API command called ShellExecute (google will find you lots of pages).
it can be used to start programs from within other programs, and can be used to tell windows to open an arbitrary file,
in which case windows is supposed to go looking for the program that handles that type of file and open it.
so basically ShellExecute does it all.

by default, F&R was invoking ShellExecute on the files selected for launching, whether they were exe files, other documents, or shortcuts to exes or documents (ie .link files).

apparently there were 2 problems with this.

the first was this policy i didnt know about which says the ShellExecute essentially hangs while waiting for the parent application of a document to start up and be ready to take input.  this was causing F&R robot to just sit on screen waiting and helpless.

the second problem was the fact that it seems on some computers, when ShellExecute is called with a ".lnk" file (shortcut file), it refuses to launch it.  i'm still not sure why certain machines do that and others don't.  it sounds like it could be a security issue but i've never heard it discussed before.

the solution to these problems were, first, to manually decode the shortcut file inside the program to recover the file being pointed to, whether it be an exe or a document.  then the second was to write a tiny like 1 line helper windows utility that basically just takes the name of a document on the command line, and calls ShellExecute on it to have windows open the appropriate program.  By using a separate helper to call ShellExecute, and by invoking that helper with a *different* kind of spawning api call (CreateProcess) i was able to hand off the "waiting for ShellExecute" responsibilities to a separate process and thereby let F&R get back to its job of minimizing or exiting after a launch.

probably more info than you wanted to know, but there it is :)


hehehe, well as i was telling someone before,
find&run is not really a competition for the desktop search engines which can actually look INSIDE files, find and run just works on file names, and because it actually searches for files on demand, its probably not ideal for searching entire hard drives over and over; in such cases its better to have a large database-driven constantly updating indexing system like one of those desktop search things.


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New Version
« Reply #2 on: March 25, 2005, 04:10 AM »
just again wanted to say how much i appreciate the beta testing!!
as a programmer it's so nice to know people who are willing to try these intermediate releases and report back, it's so much harder to fix these problems without such help.

piedone

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: New Version
« Reply #3 on: March 25, 2005, 06:30 AM »
:)
thanks for the answer. better long than too short. hehe
keep in touch


piedone

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New Version
« Reply #4 on: March 25, 2005, 06:34 AM »
did you notice i added the alpha-blen (transparency) control?

piedone

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 9
    • View Profile
    • Donate to Member
Re: New Version
« Reply #5 on: March 25, 2005, 11:50 AM »
hehe. sure!!! how can i miss that? :)
very nice implemented too!!!

keep in touch!!
piedone

riesdepies

  • Participant
  • Joined in 2005
  • *
  • default avatar
  • Posts: 5
    • View Profile
    • Donate to Member
Re: New Version
« Reply #6 on: March 28, 2005, 07:26 AM »
Hi Mouser, I think I found 1 typo and 1 minor bug in version 1.05.09 :

In the Options screen, at the bottom of the Configuration tab it says "Blank search shows file from launch" I think "launch" should be "launch history", am I correct?
In the Options screen, on the Heuristic Scoring tab, the right-click menu should only contain "Edit this entry" I guess. Choosing "Add new entry" or "Remove entry" cause Find&Run to hang.

Hope that's helpful...

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New Version
« Reply #7 on: March 28, 2005, 07:46 AM »
yes it should say launch history - ill fix that now.
asking to delete or add should bring up a messagebox saying not allowed to do that..
if it's hanging on your machine, i know whats happening and i will fix (for some reason something is causing the options dialog to hide the messsagebox telling you you cant add/delete), which means you cant press the buttton to click "ok" which is in effect hanging the program.  thanks for report, should be new fixed version up in the next couple of hours.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: New Version
« Reply #8 on: March 28, 2005, 08:29 AM »
fixed version 1.05.10 updated.
i also took the opportunity to remove the "Super Happy.." part of the installer name, which i should have done earlier; this change makes it seem like a different program to the installer, so if you want to avoid having an extra entry in your "installed programs list", you should uninstall prior version before installing this one - if you don't its not a big deal.