Click here to Skip to main content
15,908,444 members
Home / Discussions / C#
   

C#

 
GeneralRe: xml Pin
Not Active16-Feb-10 12:18
mentorNot Active16-Feb-10 12:18 
Questioncopy datagridview to another datagridview Pin
jashimu16-Feb-10 6:03
jashimu16-Feb-10 6:03 
AnswerRe: copy datagridview to another datagridview Pin
dan!sh 16-Feb-10 6:06
professional dan!sh 16-Feb-10 6:06 
GeneralRe: copy datagridview to another datagridview Pin
jashimu16-Feb-10 6:52
jashimu16-Feb-10 6:52 
QuestionIMessageFilter to capture click event Pin
nuttynibbles16-Feb-10 5:45
nuttynibbles16-Feb-10 5:45 
AnswerRe: IMessageFilter to capture click event Pin
dan!sh 16-Feb-10 6:02
professional dan!sh 16-Feb-10 6:02 
GeneralRe: IMessageFilter to capture click event Pin
nuttynibbles17-Feb-10 0:12
nuttynibbles17-Feb-10 0:12 
Questionsave a picture Pin
naghoumeh1416-Feb-10 4:50
naghoumeh1416-Feb-10 4:50 
AnswerRe: save a picture Pin
Pete O'Hanlon16-Feb-10 4:57
mvePete O'Hanlon16-Feb-10 4:57 
GeneralRe: save a picture Pin
naghoumeh1416-Feb-10 5:05
naghoumeh1416-Feb-10 5:05 
GeneralRe: save a picture Pin
Saksida Bojan16-Feb-10 10:37
Saksida Bojan16-Feb-10 10:37 
QuestionIDWedge ID Scanner Reading Sample application Pin
Tiger45616-Feb-10 4:48
Tiger45616-Feb-10 4:48 
QuestionRPC Error Pin
Syed Shahid Hussain16-Feb-10 4:39
Syed Shahid Hussain16-Feb-10 4:39 
AnswerRe: RPC Error Pin
Dimitri Witkowski16-Feb-10 9:07
Dimitri Witkowski16-Feb-10 9:07 
GeneralRe: RPC Error Pin
Syed Shahid Hussain16-Feb-10 10:30
Syed Shahid Hussain16-Feb-10 10:30 
GeneralRe: RPC Error Pin
Dimitri Witkowski16-Feb-10 10:47
Dimitri Witkowski16-Feb-10 10:47 
GeneralRe: RPC Error Pin
Syed Shahid Hussain16-Feb-10 11:00
Syed Shahid Hussain16-Feb-10 11:00 
GeneralRe: RPC Error Pin
Dimitri Witkowski16-Feb-10 18:09
Dimitri Witkowski16-Feb-10 18:09 
QuestionGrouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 3:29
blackblizzard16-Feb-10 3:29 
AnswerRe: Grouping elements by memory words: possible? Pin
Pete O'Hanlon16-Feb-10 4:11
mvePete O'Hanlon16-Feb-10 4:11 
GeneralRe: Grouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 4:21
blackblizzard16-Feb-10 4:21 
AnswerRe: Grouping elements by memory words: possible? Pin
Luc Pattyn16-Feb-10 6:29
sitebuilderLuc Pattyn16-Feb-10 6:29 
Hi again,

1.
only yesterday[^] you weren't inserting any locks, and now you're floading the world with them?

2.
indeed, CLR objects float around unless pinned; and pinning reduces the efficiency of the memory manager, possably resulting in an early OutOfMemoryException.

3.
I would create a fixed number of locks (actually I would do no such thing, you won't sell me automated or hidden locks, as I told you earlier), and keep a dictionary mapping objects to locks; when a new object needs a lock, just pick an existing one at random, and store the mapping in the dictionary. You may want to use weak references so your dictionary does not keep everything alive forever.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.
All Toronto weekends should be extremely wet until we get it automated in regular forums, not just QA.

GeneralRe: Grouping elements by memory words: possible? Pin
blackblizzard16-Feb-10 8:12
blackblizzard16-Feb-10 8:12 
QuestionHow i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Nematjon Rahmanov16-Feb-10 2:33
Nematjon Rahmanov16-Feb-10 2:33 
AnswerRe: How i can protect my C# app Reflector (Red Gate) and other disassemblers ? Pin
Keith Barrow16-Feb-10 2:38
professionalKeith Barrow16-Feb-10 2:38 

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.