Click here to Skip to main content
15,888,401 members
Home / Discussions / C#
   

C#

 
AnswerRe: Importing from Excel 2007? Pin
Fired.Fish.Gmail14-Apr-09 23:15
Fired.Fish.Gmail14-Apr-09 23:15 
GeneralRe: Importing from Excel 2007? Pin
Fired.Fish.Gmail14-Apr-09 23:17
Fired.Fish.Gmail14-Apr-09 23:17 
GeneralRe: Importing from Excel 2007? Pin
Solly7415-Apr-09 20:52
Solly7415-Apr-09 20:52 
GeneralRe: Importing from Excel 2007? Pin
Solly7415-Apr-09 22:20
Solly7415-Apr-09 22:20 
QuestionMDI Maximize,Minimize Problem. Pin
hdv21214-Apr-09 10:58
hdv21214-Apr-09 10:58 
AnswerRe: MDI Maximize,Minimize Problem. Pin
Richard Dean15-Apr-09 0:05
Richard Dean15-Apr-09 0:05 
QuestionIs there a process handle limit in 64-bit Windows Web Server 2008? Pin
Miszou14-Apr-09 10:06
Miszou14-Apr-09 10:06 
AnswerRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
Luc 64801114-Apr-09 10:29
Luc 64801114-Apr-09 10:29 
Miszou wrote:
If you need to know, you're doing it wrong


I'm afraid you proved it true once more.

I don't know the number (I must be doing something right Smile | :) ), AFAIK it is a fixed number that depends on the Windows version and I expect it does not exceed a few thousand on a client version.

As each caller may be waiting and causing one update at most, why not associate a ResetEvent with each caller (=each thread) instead of with each handler?

You can use a Dictionary if you want an automatic association, and you can create the ResetEvent when an entry is not found; you could optionally provide a CreateEvent() method so the ResetEvent and DictionaryEntry can be created in advance.

IMO this scheme looks simpler and more deterministic than a pooling scheme.

Smile | :)
GeneralRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
Miszou14-Apr-09 11:12
Miszou14-Apr-09 11:12 
AnswerRe: Is there a process handle limit in 64-bit Windows Web Server 2008? Pin
harold aptroot14-Apr-09 11:27
harold aptroot14-Apr-09 11:27 
QuestionStandard class library dll versus COM/COM+ libraries Pin
kikeman14-Apr-09 9:38
kikeman14-Apr-09 9:38 
AnswerRe: Standard class library dll versus COM/COM+ libraries Pin
Luc 64801114-Apr-09 9:41
Luc 64801114-Apr-09 9:41 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
kikeman14-Apr-09 11:54
kikeman14-Apr-09 11:54 
GeneralRe: Standard class library dll versus COM/COM+ libraries Pin
Luc 64801114-Apr-09 12:21
Luc 64801114-Apr-09 12:21 
QuestionShare data between processes Pin
toprogramminguy14-Apr-09 9:03
toprogramminguy14-Apr-09 9:03 
QuestionSource Grid cell Focus Problem Pin
soulidentities14-Apr-09 8:12
soulidentities14-Apr-09 8:12 
AnswerRe: Source Grid cell Focus Problem Pin
buachaill cliste14-Apr-09 12:12
buachaill cliste14-Apr-09 12:12 
GeneralRe: Source Grid cell Focus Problem [modified] Pin
soulidentities14-Apr-09 15:53
soulidentities14-Apr-09 15:53 
GeneralRe: Source Grid cell Focus Problem Pin
a.hamidy14-Apr-09 18:06
a.hamidy14-Apr-09 18:06 
GeneralRe: Source Grid cell Focus Pin
buachaill cliste14-Apr-09 18:30
buachaill cliste14-Apr-09 18:30 
GeneralRe: Source Grid cell Focus [modified] Pin
soulidentities18-Apr-09 0:10
soulidentities18-Apr-09 0:10 
QuestionWindows Service Question Pin
E_Gold14-Apr-09 8:02
E_Gold14-Apr-09 8:02 
AnswerRe: Windows Service Question Pin
Le centriste14-Apr-09 8:52
Le centriste14-Apr-09 8:52 
AnswerRe: Windows Service Question Pin
#realJSOP14-Apr-09 9:06
mve#realJSOP14-Apr-09 9:06 
GeneralRe: Windows Service Question Pin
PIEBALDconsult14-Apr-09 17:55
mvePIEBALDconsult14-Apr-09 17:55 

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.