Click here to Skip to main content
15,916,042 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: How can i dynamic increaseTable's Column for RDLC. Pin
ZhiLiangLin18-Jul-11 23:39
ZhiLiangLin18-Jul-11 23:39 
QuestionPixel Shader Pin
Mehdi Ghiasi14-Jul-11 23:45
Mehdi Ghiasi14-Jul-11 23:45 
QuestionDataBindings, BindingContext's, CurrencyManagers etc... Pin
paper6714-Jul-11 5:19
paper6714-Jul-11 5:19 
AnswerRe: DataBindings, BindingContext's, CurrencyManagers etc... Pin
RobCroll26-Jul-11 19:02
RobCroll26-Jul-11 19:02 
QuestionCan I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 5:11
spainchaud12-Jul-11 5:11 
AnswerRe: Can I derive a new chart control from MSChart? Pin
Not Active12-Jul-11 5:26
mentorNot Active12-Jul-11 5:26 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 7:58
spainchaud12-Jul-11 7:58 
GeneralRe: Can I derive a new chart control from MSChart? Pin
Not Active12-Jul-11 9:04
mentorNot Active12-Jul-11 9:04 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 9:50
spainchaud12-Jul-11 9:50 
GeneralRe: Can I derive a new chart control from MSChart? Pin
Not Active12-Jul-11 10:14
mentorNot Active12-Jul-11 10:14 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud12-Jul-11 12:42
spainchaud12-Jul-11 12:42 
AnswerRe: Can I derive a new chart control from MSChart? Pin
Abhinav S16-Jul-11 8:19
Abhinav S16-Jul-11 8:19 
GeneralRe: Can I derive a new chart control from MSChart? Pin
spainchaud16-Jul-11 13:38
spainchaud16-Jul-11 13:38 
QuestionProblem with sending fax from windows service Pin
devesh_fic10-Jul-11 20:24
devesh_fic10-Jul-11 20:24 
AnswerRe: Problem with sending fax from windows service Pin
tosch10-Jul-11 21:38
tosch10-Jul-11 21:38 
AnswerRe: Problem with sending fax from windows service Pin
Dave Kreskowiak11-Jul-11 1:10
mveDave Kreskowiak11-Jul-11 1:10 
AnswerRe: Problem with sending fax from windows service Pin
Ian Gillies26-Aug-11 14:54
Ian Gillies26-Aug-11 14:54 
QuestionCannot connect to Access DB after installing Teradata Pin
Soulus836-Jul-11 10:28
Soulus836-Jul-11 10:28 
AnswerRe: Cannot connect to Access DB after installing Teradata Pin
Roger Wright6-Jul-11 12:23
professionalRoger Wright6-Jul-11 12:23 
AnswerRe: Cannot connect to Access DB after installing Teradata Pin
Shameel11-Jul-11 21:37
professionalShameel11-Jul-11 21:37 
QuestionMessage Removed Pin
6-Jul-11 5:16
professionalN_tro_P6-Jul-11 5:16 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler PinPopular
Ian Shlasko6-Jul-11 5:39
Ian Shlasko6-Jul-11 5:39 
Collin Jasnoch wrote:
<layer>Say I have an object (Poster) with an event, and another object (Listener) is listening to that event (i.e. a Weak Reference) and has the delegate locally.

Unless you code it up that way explicitly, an event hook is a strong reference, not a weak one.

As for hooking the delegate itself, yes, as long as object A has a reference to object B, it'll keep object B alive.

You can avoid this by using a WeakReference in the variable behind the DoStuff property. You'll just have to verify that the reference is still alive before attempting to call it.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Can an Action cause a Memory Leak like an Event Handler Pin
#realJSOP6-Jul-11 9:51
professional#realJSOP6-Jul-11 9:51 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler Pin
MicroVirus12-Jul-11 5:53
MicroVirus12-Jul-11 5:53 
AnswerRe: Can an Action cause a Memory Leak like an Event Handler Pin
RobCroll15-Jul-11 7:08
RobCroll15-Jul-11 7:08 

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.