[THIN] Re: Help with an app - Quicken Cashbook 2005

  • From: Jeremy Saunders <jeremy.saunders@xxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 15 Feb 2006 21:27:27 +0800

Hi Rick,

Thanks for your response. It is a mutex....I should have added that to my
first post.

Process Explorer shows the following Mutant.

Name: \BaseNamedObjects\QW is Running
Type: Mutant
Description: A synchronization object (a Win32 Mutex)
Address: 0x817DD7E8

I have been staring at it all day, but haven't been able to work out what
to do with it.

Closing the "\BaseNamedObjects\QW is Running" handle allows me to open a
second copy. :) Stupid me...I don't know why I didn't try that earlier. I
think I was trying to do it the hard way....whatever that means.

So what would you use for a wrapper? Would you write some WMI code that
waits for the handle and then closes it?

By the way, thanks for that KB reference. I'd never come across that
before.

Cheers.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx










                                                                       
             "Rick Mack"                                               
             <Rick.Mack@volant                                         
             e.com.au>                                                  To
             Sent by:                  <thin@xxxxxxxxxxxxx>            
             thin-bounce@freel                                          cc
             ists.org                                                  
                                                                   Subject
                                       [THIN] Re: Help with an app -   
             15/02/2006 08:35          Quicken Cashbook 2005           
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
                   thin                                                
                                                                       
                                                                       




Hi Jeremy,

Sounds like fun :-(

The reshacker approach won't get you anywhere because all you're working
with is a string option called by the executable.

My guess is that Quicken is using a global mutex or semaphore object to
make sure only one instance of the app is running. Since earlier versions
worked on TS, you're probably battling an "enhancement" to support fast
user switching on XP.

Have a look at Microsoft technote 310153 to get an idea of the code used to
ensure that only a single instance of the application is being used. I'm
not certain sure whether process explorer will help you here, but if you
can identify the name of the global mutex or semaphore object used, you
could fairly easily put a wrapper around the application to close the
object.

AIE is also claimed to handle named object redirection but I wouldn't have
a clue as to whether it'll handle a global mutex or semaphore object
redirection. But there is someone we could ask. Mail me privately and I
should be able to put you in touch with one of the AIE developers.

regards,

Rick

Ulrich Mack
Volante Systems


________________________________

From: thin-bounce@xxxxxxxxxxxxx on behalf of Jeremy Saunders
Sent: Wed 15/02/2006 19:45
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Help with an app - Quicken Cashbook 2005



Hi All,

I've installed Quicken Home and Business 2005/06 (AKA Quicken Cashbook
2005) onto a test Windows 2003 PS4 box for a customer and have found that
when more than one copy of the application is run up  the user is prompted
with a message box that says "Another user is already running this
application." When the user clicks okay, the program ends. So I installed
the whole app into an AIE hoping that it would then be isolated. But
unfortunately this problem is still occurring. I'm 99% sure that I've got
the AIE configured correctly.

I've tried everything I know of, such as...
1. Creating multiple executables  qw.exe, qw2.exe, etc.
2. Enabling security auditing in-case filemon is missing something
3. Filemon - there are no sharing violations
4. Regmon
5. Process Explorer
6. Enabled all sorts of auditing
7. Excluding the program from Memory Optimisation
8. Installing more than one copy of the program into different folders and
used a qw.exe.local file

Process Explorer showed me what dll's were open at the time the 2nd user
received the error, so I used reshack to find which dll contained the
StringTable with the text "Another user is already running this
application.". Sure enough when I change this text the user gets a
different prompt. The original line in reshacker is...
2029,       "Another user is already running this application."
What is the number 2029 referencing?

I want to somehow suppress this error so that the program will continue on
its own accord, but I'm running out of ideas on how this can be achieved.

Of course Quicken support are no help, as the program is not written for
multiuser environments.

It's funny that Quicken Cashbook 8, 2003 and 2004 work 100% on PS4, but the
latest version seems to be quite locked down.

As I'm writing this e-mail I'm thinking about the Application Compatibility
Toolkit. I haven't tried that one yet.

Any ideas would be much appreciated?

Cheers.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx









************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************



#####################################################################################

This e-mail, including all attachments, may be confidential or privileged.
Confidentiality or privilege is not waived or lost because this e-mail has
been sent to you in error.  If you are not the intended recipient any use,
disclosure or copying of this e-mail is prohibited.  If you have received
it in error please notify the sender immediately by reply e-mail and
destroy all copies of this e-mail and any attachments.  All liability for
direct and indirect loss arising from this e-mail and any attachments is
hereby disclaimed to the extent permitted by law.
#####################################################################################

(See attached file: winmail.dat)

Other related posts: