WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > new CreateMutex plugin!
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
billym
Member

Registered: Apr 2003
From: Austin, TX

Lightbulb new CreateMutex plugin!

This is my first plugin so please give me all the feedback you can.

Attachment: nsapicreatemutex.zip
This has been downloaded 2262 time(s).

Quick Link | Report this post to a moderator | IP: Logged

billym is offline Old Post 01-02-2004 10:34 PM
Click Here to See the Profile for billym Click here to Send billym a Private Message Find more posts by billym Add billym to your buddy list Edit/Delete Message Reply w/Quote
Joel
Debian user
(Forum King)

Registered: Jan 2003
From: Ubuntu land

Just tested.... nice dude
MUTEX kicks MessageBoxes

__________________

* Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM.
* Ubuntu 9.10 64-bits.
* Firefox (Namoroka) 3.6.2.
* lighttpd, php5, perl, eruby, python.
* geany, XHTML & CSS & JavaScript, Gtk+, QT4, bindings.

Quick Link | Report this post to a moderator | IP: Logged

Joel is offline Old Post 01-03-2004 02:26 AM
Click Here to See the Profile for Joel Click here to Send Joel a Private Message Click Here to Email Joel Visit Joel's homepage! Find more posts by Joel Add Joel to your buddy list Edit/Delete Message Reply w/Quote
n0On3
Senior Member

Registered: Jan 2001
From: Barcelona

can I know how can this plugin improve my life? I couldn't find out with google

Quick Link | Report this post to a moderator | IP: Logged

n0On3 is offline Old Post 01-03-2004 10:12 PM
Click Here to See the Profile for n0On3 Click here to Send n0On3 a Private Message Click Here to Email n0On3 Visit n0On3's homepage! Find more posts by n0On3 Add n0On3 to your buddy list Edit/Delete Message Reply w/Quote
Joost Verburg
NSIS MUI Dev

Registered: Nov 2001
From:

It's just the same as a single API call with the System plug-in like this:

System::Call 'kernel32::CreateMutexA(i 0, i 0, t "myMutex") i .r1 ?e'

The only advantage could be that if you only need this System call it might save a KB or two.

Quick Link | Report this post to a moderator | IP: Logged

Joost Verburg is offline Old Post 01-03-2004 11:43 PM
Click Here to See the Profile for Joost Verburg Click here to Send Joost Verburg a Private Message Find more posts by Joost Verburg Add Joost Verburg to your buddy list Edit/Delete Message Reply w/Quote
n0On3
Senior Member

Registered: Jan 2001
From: Barcelona

ok, this explanation told me that I have to look for other ways to improve my life

Quick Link | Report this post to a moderator | IP: Logged

n0On3 is offline Old Post 01-04-2004 10:52 PM
Click Here to See the Profile for n0On3 Click here to Send n0On3 a Private Message Click Here to Email n0On3 Visit n0On3's homepage! Find more posts by n0On3 Add n0On3 to your buddy list Edit/Delete Message Reply w/Quote
bthale
Guest

Registered: Not Yet
From:

Exclamation

Was just playing around with this plugin and observed that the routine returns a different value if the "optional parameter" is explicitly "2" vs. letting it default to "2".

CreateMutex::nsCreateMutex "myMutex" "2"
returns "MUTEX_EXISTS"

CreateMutex::nsCreateMutex "myMutex"
returns "ALREADY_EXISTS"

Quick Link | Report this post to a moderator | IP: Logged

Old Post 02-02-2006 08:01 AM
Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 08:07 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
WINAMP.COM | Forums : Powered by vBulletin version 2.3.9 WINAMP.COM | Forums > Developer Center > NSIS Discussion > new CreateMutex plugin!
Show Printable Version
 | 
Email this Page
 | 
Subscribe to this Thread

Forum Jump:
 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is off
vB code is ON
Smilies are ON
[IMG] code is ON