Click here to Skip to main content
15,914,074 members
Home / Discussions / C#
   

C#

 
AnswerRe: I want to learn English ,somebody wants to learn Chinese? Pin
Richard MacCutchan31-Aug-09 3:28
mveRichard MacCutchan31-Aug-09 3:28 
GeneralRe: I want to learn English ,somebody wants to learn Chinese? Pin
wjp_auhtm31-Aug-09 17:19
wjp_auhtm31-Aug-09 17:19 
GeneralRe: I want to learn English ,somebody wants to learn Chinese? Pin
dan!sh 31-Aug-09 0:38
professional dan!sh 31-Aug-09 0:38 
GeneralRe: I want to learn English ,somebody wants to learn Chinese? Pin
Luc Pattyn31-Aug-09 0:46
sitebuilderLuc Pattyn31-Aug-09 0:46 
GeneralRe: I want to learn English ,somebody wants to learn Chinese? Pin
dan!sh 31-Aug-09 1:08
professional dan!sh 31-Aug-09 1:08 
GeneralRe: I want to learn English ,somebody wants to learn Chinese? Pin
EliottA31-Aug-09 3:55
EliottA31-Aug-09 3:55 
JokeRe: I want to learn English ,somebody wants to learn Chinese? Pin
dan!sh 31-Aug-09 4:10
professional dan!sh 31-Aug-09 4:10 
QuestionFree memory ocx components. Pin
cidmi.dovic30-Aug-09 22:35
cidmi.dovic30-Aug-09 22:35 
Hi,

I have an application in C# using sockets and a pair of dll not .net based (I think they are ocx).
As I can't use these components because the sovket reception opens a new thread I have to use a new thread an fix the ApartmentState to STA. Inside this new thread I declare objects from this dll and if I open the task manager of windows I can see that the size in memory of the proccess increases a lot every time a new message is received.

I thought that the garbage recollector should make it for me but how can I free resources?

I'll try to set the objects to null but I don't know if this is the best solution (if it works,obviously).


Thanks in advance.
AnswerRe: Free memory ocx components. Pin
stancrm30-Aug-09 22:49
stancrm30-Aug-09 22:49 
GeneralRe: Free memory ocx components. Pin
cidmi.dovic30-Aug-09 23:53
cidmi.dovic30-Aug-09 23:53 
QuestionPlace an ICON on a folder? Pin
JollyMansArt30-Aug-09 21:21
JollyMansArt30-Aug-09 21:21 
AnswerRe: Place an ICON on a folder? Pin
Abhishek Sur30-Aug-09 21:59
professionalAbhishek Sur30-Aug-09 21:59 
AnswerRe: Place an ICON on a folder? Pin
dan!sh 30-Aug-09 22:25
professional dan!sh 30-Aug-09 22:25 
QuestionAJAX, C# and webpage source Pin
kaytrance30-Aug-09 21:03
kaytrance30-Aug-09 21:03 
AnswerRe: AJAX, C# and webpage source Pin
stancrm30-Aug-09 21:04
stancrm30-Aug-09 21:04 
GeneralRe: AJAX, C# and webpage source Pin
kaytrance30-Aug-09 21:23
kaytrance30-Aug-09 21:23 
QuestionUndo And Select All Pin
Rahul DSG30-Aug-09 20:24
Rahul DSG30-Aug-09 20:24 
AnswerRe: Undo And Select All Pin
stancrm30-Aug-09 21:03
stancrm30-Aug-09 21:03 
GeneralRe: Undo And Select All Pin
Rahul DSG30-Aug-09 21:17
Rahul DSG30-Aug-09 21:17 
GeneralRe: Undo And Select All Pin
Rahul DSG30-Aug-09 21:37
Rahul DSG30-Aug-09 21:37 
QuestionConervsion formula for XY coordinates of Picture Box to Lat/Long Pin
kjsl2k930-Aug-09 19:13
kjsl2k930-Aug-09 19:13 
AnswerRe: Conervsion formula for XY coordinates of Picture Box to Lat/Long Pin
Abhishek Sur30-Aug-09 22:06
professionalAbhishek Sur30-Aug-09 22:06 
AnswerRe: Conervsion formula for XY coordinates of Picture Box to Lat/Long Pin
stancrm30-Aug-09 22:48
stancrm30-Aug-09 22:48 
GeneralRe: Conervsion formula for XY coordinates of Picture Box to Lat/Long Pin
kjsl2k931-Aug-09 1:09
kjsl2k931-Aug-09 1:09 
QuestionHi peoples Pin
Hema Bairavan30-Aug-09 18:54
Hema Bairavan30-Aug-09 18:54 

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.