Click here to Skip to main content
15,923,218 members
Home / Discussions / C#
   

C#

 
GeneralC# and VB.Net exam questions Pin
boro1224-Jun-03 6:52
boro1224-Jun-03 6:52 
GeneralExecuting Access Reports Pin
Uncle Monkey24-Jun-03 6:21
Uncle Monkey24-Jun-03 6:21 
GeneralCapturing Input Events Pin
Anonymous24-Jun-03 5:21
Anonymous24-Jun-03 5:21 
GeneralRe: Capturing Input Events Pin
John Fisher25-Jun-03 7:34
John Fisher25-Jun-03 7:34 
Generalassync call returns on wrong thread Pin
OmegaSupreme24-Jun-03 5:20
OmegaSupreme24-Jun-03 5:20 
GeneralRe: assync call returns on wrong thread Pin
David Stone24-Jun-03 7:44
sitebuilderDavid Stone24-Jun-03 7:44 
GeneralRe: assync call returns on wrong thread Pin
OmegaSupreme24-Jun-03 18:21
OmegaSupreme24-Jun-03 18:21 
QuestionThread not releasing resources? Pin
GISnet24-Jun-03 4:44
GISnet24-Jun-03 4:44 
I am using the TaskbarNotifier class to display incoming TCP/IP messages. I listen for a message on a port and when one is received, I start a thread that creates a new TaskbarNotifier object and shows the message. However, looking at Windows' Task Manager, I've noticed that the GDI Objects continue to grow (by 2 objects each time I am notified), even though the thread appears to end successfully (the thread count in task manager remains a constant 4).

If I call create TaskbarNotifier in the same thread as my TCP/IP listener, the resources don't grow, but the port is blocked until the notifier finishes.

Calling the thread without creading a TaskbarNotifier object also does not create growing resources.

Adding the single line:

TaskbarNotifier taskbarNotifier1 = new TaskbarNotifier();

to the thread class will cause the problem. If i set taskbarNotifier1 = null, it has no effect.

Any ideas welcome.
GeneralRich Text Box Cursor Location Pin
MojoTheMonkey24-Jun-03 4:00
MojoTheMonkey24-Jun-03 4:00 
GeneralRe: Rich Text Box Cursor Location Pin
dynamic24-Jun-03 6:52
dynamic24-Jun-03 6:52 
GeneralRe: Rich Text Box Cursor Location Pin
leppie24-Jun-03 7:02
leppie24-Jun-03 7:02 
GeneralRe: Rich Text Box Cursor Location Pin
J. Dunlap24-Jun-03 7:38
J. Dunlap24-Jun-03 7:38 
GeneralRe: Rich Text Box Cursor Location Pin
MojoTheMonkey24-Jun-03 21:59
MojoTheMonkey24-Jun-03 21:59 
GeneralC# DLL and MFC app Pin
vikramlinux24-Jun-03 0:33
vikramlinux24-Jun-03 0:33 
GeneralRe: C# DLL and MFC app Pin
Daniel Turini24-Jun-03 4:54
Daniel Turini24-Jun-03 4:54 
GeneralI need help (convert VB6 ocx to C# WCL) Pin
yarns23-Jun-03 21:02
yarns23-Jun-03 21:02 
GeneralRe: I need help (convert VB6 ocx to C# WCL) Pin
Kant24-Jun-03 15:44
Kant24-Jun-03 15:44 
QuestionWhat are they difference between some controls ? Pin
JeffSayHi23-Jun-03 16:07
JeffSayHi23-Jun-03 16:07 
QuestionHow can I do a toolbar like VS.Net ? Pin
JeffSayHi23-Jun-03 15:56
JeffSayHi23-Jun-03 15:56 
GeneralDistributing c# app with ActiveX control Pin
mikechambers23-Jun-03 15:45
mikechambers23-Jun-03 15:45 
GeneralRe: Distributing c# app with ActiveX control Pin
Anonymous24-Jun-03 5:24
Anonymous24-Jun-03 5:24 
GeneralRe: Distributing c# app with ActiveX control Pin
CBoland24-Jun-03 6:56
CBoland24-Jun-03 6:56 
GeneralRe: Distributing c# app with ActiveX control Pin
mikechambers24-Jun-03 10:13
mikechambers24-Jun-03 10:13 
Generaldynamic table Pin
bora3ee23-Jun-03 11:43
bora3ee23-Jun-03 11:43 
GeneralRe: dynamic table Pin
Dimitris Iliopoulos23-Jun-03 11:54
Dimitris Iliopoulos23-Jun-03 11: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.