Click here to Skip to main content
16,010,553 members
Home / Discussions / C#
   

C#

 
AnswerRe: Read 2D || QR Barcode from Compact Framework Pin
Deresen19-Mar-09 23:50
Deresen19-Mar-09 23:50 
QuestionPassing data from a child thread Pin
vikingsimon19-Mar-09 22:20
vikingsimon19-Mar-09 22:20 
AnswerRe: Passing data from a child thread Pin
Cracked-Down19-Mar-09 22:43
Cracked-Down19-Mar-09 22:43 
AnswerRe: Passing data from a child thread [modified] Pin
12Code19-Mar-09 23:07
12Code19-Mar-09 23:07 
QuestionIs it possible to call the GarbageCollector of an other process! Pin
Martin#19-Mar-09 21:55
Martin#19-Mar-09 21:55 
AnswerRe: Is it possible to call the GarbageCollector of an other process! Pin
Christian Graus19-Mar-09 22:00
protectorChristian Graus19-Mar-09 22:00 
GeneralRe: Is it possible to call the GarbageCollector of an other process! Pin
Martin#19-Mar-09 22:07
Martin#19-Mar-09 22:07 
AnswerRe: Is it possible to call the GarbageCollector of an other process! Pin
S. Senthil Kumar20-Mar-09 3:36
S. Senthil Kumar20-Mar-09 3:36 
Martin# wrote:
I was searching threw System.GC and System.Diagnostics.Process but couldn't find something usefull.
So I was wondering if it's possible to call the GC of an other managed process over an API or something I couldn't figure out?


No, you can't do that with the framework classes. You could of course expose a .NET object from your app and use remoting to talk to it, but that is way overkill, IMO.


Martin# wrote:
The question is out of curiosity, because I was wondering how the ".Net Memory Profiler" does the GC.Collect over all generation, when it's performing a snapshot.


There's a CLR Profiling API[^] that allows you to do things like that. You write a COM object that implements a bunch of callbacks, and then by setting an environment variable, it gets instantiated in the target process and can process notifications, as well as query for information. The API is very rich, I even wrote something that can find undisposed objects here[^].

Regards
Senthil [MVP - Visual C#]
_____________________________
My Home Page |My Blog | My Articles | My Flickr | WinMacro

GeneralRe: Is it possible to call the GarbageCollector of an other process! [modified] Pin
Martin#20-Mar-09 5:06
Martin#20-Mar-09 5:06 
AnswerRe: Is it possible to call the GarbageCollector of an other process! Pin
Luc Pattyn20-Mar-09 4:28
sitebuilderLuc Pattyn20-Mar-09 4:28 
GeneralRe: Is it possible to call the GarbageCollector of an other process! Pin
Martin#20-Mar-09 4:56
Martin#20-Mar-09 4:56 
QuestionModelpopup with dropdownlistbox Pin
gopinathtamil19-Mar-09 21:50
gopinathtamil19-Mar-09 21:50 
AnswerRe: Modelpopup with dropdownlistbox Pin
Christian Graus19-Mar-09 21:54
protectorChristian Graus19-Mar-09 21:54 
QuestionProgramatically providing Database file path to DSN using C# Pin
bijaykumar0119-Mar-09 21:28
bijaykumar0119-Mar-09 21:28 
Questionfile string upload in textbox Pin
Mangesh Tomar19-Mar-09 20:36
Mangesh Tomar19-Mar-09 20:36 
AnswerRe: file string upload in textbox Pin
Christian Graus19-Mar-09 21:00
protectorChristian Graus19-Mar-09 21:00 
AnswerRe: file string upload in textbox Pin
jaypatel51219-Mar-09 23:07
jaypatel51219-Mar-09 23:07 
GeneralRe: file string upload in textbox Pin
Mangesh Tomar20-Mar-09 18:49
Mangesh Tomar20-Mar-09 18:49 
GeneralRe: file string upload in textbox Pin
jaypatel51220-Mar-09 18:53
jaypatel51220-Mar-09 18:53 
Questionkrishan Pin
krish@n19-Mar-09 20:30
krish@n19-Mar-09 20:30 
AnswerRe: krishan Pin
Christian Graus19-Mar-09 21:06
protectorChristian Graus19-Mar-09 21:06 
Questiona registry problem... Pin
abhiram_nayan19-Mar-09 20:17
abhiram_nayan19-Mar-09 20:17 
AnswerRe: a registry problem... Pin
Christian Graus19-Mar-09 21:55
protectorChristian Graus19-Mar-09 21:55 
GeneralRe: a registry problem... Pin
abhiram_nayan20-Mar-09 3:15
abhiram_nayan20-Mar-09 3:15 
QuestionRegular Expression Pin
yadlaprasad19-Mar-09 20:11
yadlaprasad19-Mar-09 20:11 

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.