Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Multicast Delegate Pin
TheCatsPajamas8-Feb-07 18:05
TheCatsPajamas8-Feb-07 18:05 
GeneralRe: Multicast Delegate Pin
Luc Pattyn8-Feb-07 23:38
sitebuilderLuc Pattyn8-Feb-07 23:38 
QuestionTif Image Create Pin
smarttom998-Feb-07 15:19
smarttom998-Feb-07 15:19 
AnswerRe: Tif Image Create Pin
Luc Pattyn8-Feb-07 15:46
sitebuilderLuc Pattyn8-Feb-07 15:46 
QuestionHow to work with TAPI to get caller id Pin
samar naguib8-Feb-07 13:41
samar naguib8-Feb-07 13:41 
QuestionTimer CallBack function Pin
aruna_koride8-Feb-07 13:14
aruna_koride8-Feb-07 13:14 
AnswerRe: Timer CallBack function Pin
Christian Graus8-Feb-07 14:12
protectorChristian Graus8-Feb-07 14:12 
AnswerRe: Timer CallBack function Pin
Guffa8-Feb-07 14:48
Guffa8-Feb-07 14:48 
There is no guarantee that the finalizer (~) will be run when the application ends. The finalizer is called after that the garbage collector has recognised that the object isn't used any more. An object with a finalizer is placed in a queue where a background thread will be calling the finalizer, but as your object is still used when the application ends, it will never make the queue.

As you have a resource that needs to be freed, you should implement the IDisposable interface so that you can call the Dispose method on the object to free the resources. Just as you are calling the Dispose method of the Timer object to make it free it's resources.


---
single minded; short sighted; long gone;

GeneralRe: Timer CallBack function Pin
aruna_koride8-Feb-07 15:05
aruna_koride8-Feb-07 15:05 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 1:33
aruna_koride10-Feb-07 1:33 
AnswerRe: Timer CallBack function Pin
Guffa10-Feb-07 3:53
Guffa10-Feb-07 3:53 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 5:54
aruna_koride10-Feb-07 5:54 
AnswerRe: Timer CallBack function Pin
Guffa10-Feb-07 6:18
Guffa10-Feb-07 6:18 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 7:00
aruna_koride10-Feb-07 7:00 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 7:11
aruna_koride10-Feb-07 7:11 
AnswerRe: Timer CallBack function Pin
Guffa10-Feb-07 8:48
Guffa10-Feb-07 8:48 
GeneralRe: Timer CallBack function Pin
aruna_koride10-Feb-07 13:23
aruna_koride10-Feb-07 13:23 
GeneralRe: Timer CallBack function Pin
Guffa10-Feb-07 17:26
Guffa10-Feb-07 17:26 
QuestionNeed your help with .NET Framework V2.0 Obsolete Type Pin
Khoramdin8-Feb-07 12:18
Khoramdin8-Feb-07 12:18 
AnswerRe: Need your help with .NET Framework V2.0 Obsolete Type Pin
Christian Graus8-Feb-07 12:26
protectorChristian Graus8-Feb-07 12:26 
QuestionRe: Need your help with .NET Framework V2.0 Obsolete Type [modified] Pin
Khoramdin8-Feb-07 12:32
Khoramdin8-Feb-07 12:32 
AnswerRe: Need your help with .NET Framework V2.0 Obsolete Type Pin
Christian Graus8-Feb-07 14:02
protectorChristian Graus8-Feb-07 14:02 
GeneralRe: Need your help with .NET Framework V2.0 Obsolete Type Pin
Khoramdin8-Feb-07 14:57
Khoramdin8-Feb-07 14:57 
QuestionGetting a brush to create with a stored color....not working Pin
LongRange.Shooter8-Feb-07 11:43
LongRange.Shooter8-Feb-07 11:43 
AnswerRe: Getting a brush to create with a stored color....not working Pin
Patrick Etc.8-Feb-07 11:49
Patrick Etc.8-Feb-07 11:49 

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.