Click here to Skip to main content
15,905,136 members
Home / Discussions / C#
   

C#

 
QuestionPerformance issue using Multi threading in Net 3.5 Pin
KIDYA8-May-13 20:35
KIDYA8-May-13 20:35 
AnswerRe: Performance issue using Multi threading in Net 3.5 Pin
Abhinav S8-May-13 21:10
Abhinav S8-May-13 21:10 
GeneralRe: Performance issue using Multi threading in Net 3.5 Pin
KIDYA8-May-13 21:37
KIDYA8-May-13 21:37 
AnswerRe: Performance issue using Multi threading in Net 3.5 Pin
Abhinav S9-May-13 0:09
Abhinav S9-May-13 0:09 
GeneralRe: Performance issue using Multi threading in Net 3.5 Pin
harold aptroot8-May-13 21:44
harold aptroot8-May-13 21:44 
GeneralRe: Performance issue using Multi threading in Net 3.5 Pin
KIDYA8-May-13 23:25
KIDYA8-May-13 23:25 
GeneralRe: Performance issue using Multi threading in Net 3.5 Pin
harold aptroot8-May-13 23:37
harold aptroot8-May-13 23:37 
GeneralRe: Performance issue using Multi threading in Net 3.5 Pin
KIDYA9-May-13 0:08
KIDYA9-May-13 0:08 
QuestionNeed your opinion on querying data for presentation on winforms / web page and for reports Pin
Nayan Ambaliya8-May-13 15:03
Nayan Ambaliya8-May-13 15:03 
QuestionRe: Need your opinion on querying data for presentation on winforms / web page and for reports Pin
Richard MacCutchan8-May-13 20:43
mveRichard MacCutchan8-May-13 20:43 
AnswerRe: Need your opinion on querying data for presentation on winforms / web page and for reports Pin
Abhinav S8-May-13 21:13
Abhinav S8-May-13 21:13 
Questionhow to develop a client server encrypt commincation using one time pad Pin
Member 100380688-May-13 10:21
Member 100380688-May-13 10:21 
AnswerRe: how to develop a client server encrypt commincation using one time pad Pin
Eddy Vluggen8-May-13 10:54
professionalEddy Vluggen8-May-13 10:54 
GeneralRe: how to develop a client server encrypt commincation using one time pad Pin
Member 100380688-May-13 11:04
Member 100380688-May-13 11:04 
GeneralRe: how to develop a client server encrypt commincation using one time pad Pin
Eddy Vluggen8-May-13 11:14
professionalEddy Vluggen8-May-13 11:14 
QuestionEffective Coding Style to build a Class Library Pin
Bikash Prakash Dash8-May-13 9:55
Bikash Prakash Dash8-May-13 9:55 
AnswerRe: Effective Coding Style to build a Class Library Pin
Eddy Vluggen8-May-13 10:48
professionalEddy Vluggen8-May-13 10:48 
QuestionHelp with mutex, cannot get mutex to work Pin
turbosupramk38-May-13 7:06
turbosupramk38-May-13 7:06 
AnswerRe: Help with mutex, cannot get mutex to work Pin
Jasmine25018-May-13 7:38
Jasmine25018-May-13 7:38 
GeneralRe: Help with mutex, cannot get mutex to work Pin
turbosupramk38-May-13 7:49
turbosupramk38-May-13 7:49 
AnswerRe: Help with mutex, cannot get mutex to work Pin
Dave Kreskowiak8-May-13 8:10
mveDave Kreskowiak8-May-13 8:10 
GeneralRe: Help with mutex, cannot get mutex to work Pin
turbosupramk38-May-13 8:31
turbosupramk38-May-13 8:31 
GeneralRe: Help with mutex, cannot get mutex to work Pin
Jasmine25018-May-13 8:35
Jasmine25018-May-13 8:35 
GeneralRe: Help with mutex, cannot get mutex to work Pin
Dave Kreskowiak8-May-13 8:53
mveDave Kreskowiak8-May-13 8:53 
Just because you see a technique all over the Internet does not mean that it applies to your situation.

From what I've seen in your code, it suggests you're trrying to make a single instance app. The code you have is not suited for that purpose at all. To make a single instance app, an application first tries to create a Mutex. If it's successfull, it's the first app instance running. If the creation of the Mutex fails, then you know your app is not the only instance running.

Follow the logic in your code snippet and you will see that it does not follow the logic I just laid out.

GeneralRe: Help with mutex, cannot get mutex to work Pin
turbosupramk310-May-13 1:58
turbosupramk310-May-13 1:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.