Click here to Skip to main content
15,892,746 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to find the path of the file csc.exe Pin
PIEBALDconsult26-Nov-08 3:34
mvePIEBALDconsult26-Nov-08 3:34 
Questionapplication on system tray Pin
balu1234526-Nov-08 0:31
balu1234526-Nov-08 0:31 
AnswerRe: application on system tray Pin
Pedram Behroozi26-Nov-08 0:37
Pedram Behroozi26-Nov-08 0:37 
QuestionPuzzled with Finalizers Pin
HosamAly26-Nov-08 0:20
HosamAly26-Nov-08 0:20 
AnswerRe: Puzzled with Finalizers Pin
Guffa26-Nov-08 1:25
Guffa26-Nov-08 1:25 
QuestionRe: Puzzled with Finalizers Pin
HosamAly26-Nov-08 2:19
HosamAly26-Nov-08 2:19 
AnswerRe: Puzzled with Finalizers Pin
Simon P Stevens26-Nov-08 3:00
Simon P Stevens26-Nov-08 3:00 
QuestionRe: Puzzled with Finalizers Pin
HosamAly26-Nov-08 3:21
HosamAly26-Nov-08 3:21 
Thanks for your help. I read a lot about the Disposable pattern, and I implement it (according to the Disposable Design Principle[^]). However, I'm writing a library, so I don't actually control the order of calling Dispose methods. I tried to encapsulate it, but then I ran into referencing objects in the finalizer...

Another issue is when the application is rudely unloaded; my (critical) finalizers must run in the correct order, or else the (external) library I'm using would cause an access violation.

I thought about having all the finalization logic in one class, but I had to maintain a list of delegates to be called during finalization. Now this list is again a managed object, so I shouldn't be referring to it!

I'm confused! Confused | :confused:

Thanks again.


GeneralRe: Puzzled with Finalizers Pin
Thomas Weller26-Nov-08 3:46
Thomas Weller26-Nov-08 3:46 
QuestionRemoting in .net Pin
krinaljariwala25-Nov-08 23:52
krinaljariwala25-Nov-08 23:52 
AnswerRe: Remoting in .net Pin
Thomas Weller26-Nov-08 0:16
Thomas Weller26-Nov-08 0:16 
GeneralRe: Remoting in .net Pin
Shyam Bharath26-Nov-08 0:28
Shyam Bharath26-Nov-08 0:28 
GeneralRe: Remoting in .net Pin
Thomas Weller26-Nov-08 0:32
Thomas Weller26-Nov-08 0:32 
GeneralRe: Remoting in .net Pin
Shyam Bharath26-Nov-08 0:37
Shyam Bharath26-Nov-08 0:37 
JokeRe: Remoting in .net Pin
Pedram Behroozi26-Nov-08 0:34
Pedram Behroozi26-Nov-08 0:34 
GeneralRe: Remoting in .net Pin
Alan Balkany26-Nov-08 4:03
Alan Balkany26-Nov-08 4:03 
GeneralRe: Remoting in .net Pin
Thomas Weller26-Nov-08 4:26
Thomas Weller26-Nov-08 4:26 
AnswerRe: Remoting in .net Pin
Shyam Bharath26-Nov-08 0:26
Shyam Bharath26-Nov-08 0:26 
JokeRe: Remoting in .net Pin
Thomas Weller26-Nov-08 0:30
Thomas Weller26-Nov-08 0:30 
GeneralRe: Remoting in .net Pin
Shyam Bharath26-Nov-08 0:35
Shyam Bharath26-Nov-08 0:35 
JokeRe: Remoting in .net Pin
Thomas Weller26-Nov-08 0:49
Thomas Weller26-Nov-08 0:49 
GeneralRe: Remoting in .net Pin
Shyam Bharath26-Nov-08 0:54
Shyam Bharath26-Nov-08 0:54 
QuestionPointer in C# Pin
Hamed Musavi25-Nov-08 22:26
Hamed Musavi25-Nov-08 22:26 
AnswerRe: Pointer in C# Pin
Thomas Weller25-Nov-08 22:41
Thomas Weller25-Nov-08 22:41 
GeneralRe: Pointer in C# Pin
Hamed Musavi25-Nov-08 23:06
Hamed Musavi25-Nov-08 23:06 

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.