Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Forums > General Discussion

Mutex works in xp but not in vista

Reply
 
Thread Tools Display Modes
Old 04-16-2008   #1 (permalink)
Newbie


  namosiddh21 is offline

Mutex works in xp but not in vista

Hi,

I have written a code(mutex : singleobject) for single instance of installer.
That installer works fine in WindowsXP.
But when i run that installer in Vista, then installer will not allow to go ahead.
"One instance is already running error comes"( stated in the installer code ).
And installer will not allow to continue?

When i see the task bar come to know that that exe is opens two instances.
And when i search , i got to know that this is the Vista default behavior.
One exe is opening two instances.

I use two functions ( CreateMutexA() and WaitForSingleObject() )
Please guide me to get rid of this problem.
Old 05-02-2008   #2 (permalink)
Newbie


  namosiddh21 is offline

Re: Mutex works in xp but not in vista

Hi,

Please help me to solve this problem, this is very criticle and urgent issue


Thanks
Old 05-02-2008   #3 (permalink)
sidney1st's Avatar
Member


  sidney1st is offline

Re: Mutex works in xp but not in vista

Difficult to say without a piece of the code
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read Works 4 .wps files in Vista [Works 9?] Mike Arnold Vista General 18 03-18-2008 10:35 PM
Vista SP1 works in Mac OS X 10.5.2 cheen Vista General 4 02-15-2008 05:44 PM
Works 8.5 in Vista: "Microsoft Works has stopped working" Maggie472 Vista General 2 01-11-2008 04:15 PM
Works 4.5a and Vista William V. McBride Vista performance & maintenance 0 07-28-2007 04:37 PM
Nothing works with Vista!!!!!! Seven Vista General 25 04-05-2007 04:22 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50