Click here to Skip to main content
15,916,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: Create dll and use it on runtime Pin
Luc Pattyn11-Oct-09 8:05
sitebuilderLuc Pattyn11-Oct-09 8:05 
QuestionIS there a different in WebService programming in 32bit and 64bit ? Pin
E_Gold11-Oct-09 6:54
E_Gold11-Oct-09 6:54 
AnswerRe: IS there a different in WebService programming in 32bit and 64bit ? Pin
dan!sh 11-Oct-09 7:34
professional dan!sh 11-Oct-09 7:34 
QuestionWindow Address Pin
curtuy11-Oct-09 5:48
curtuy11-Oct-09 5:48 
AnswerRe: Window Address Pin
Luc Pattyn11-Oct-09 5:55
sitebuilderLuc Pattyn11-Oct-09 5:55 
GeneralRe: Window Address Pin
curtuy11-Oct-09 6:03
curtuy11-Oct-09 6:03 
QuestionRe: Window Address Pin
harold aptroot11-Oct-09 5:55
harold aptroot11-Oct-09 5:55 
JokeRe: Window Address Pin
Eddy Vluggen11-Oct-09 6:03
professionalEddy Vluggen11-Oct-09 6:03 
GeneralRe: Window Address Pin
curtuy11-Oct-09 6:05
curtuy11-Oct-09 6:05 
AnswerRe: Window Address Pin
dan!sh 11-Oct-09 7:31
professional dan!sh 11-Oct-09 7:31 
GeneralRe: Window Address Pin
curtuy12-Oct-09 1:14
curtuy12-Oct-09 1:14 
QuestionThreadpool help [modified] Pin
OptiPlex11-Oct-09 5:45
OptiPlex11-Oct-09 5:45 
AnswerRe: Threadpool help Pin
Luc Pattyn11-Oct-09 5:53
sitebuilderLuc Pattyn11-Oct-09 5:53 
GeneralRe: Threadpool help Pin
OptiPlex11-Oct-09 7:04
OptiPlex11-Oct-09 7:04 
GeneralRe: Threadpool help Pin
Luc Pattyn11-Oct-09 7:50
sitebuilderLuc Pattyn11-Oct-09 7:50 
QuestionCall a method using Windows forms Pin
Tamara Clifton11-Oct-09 5:43
Tamara Clifton11-Oct-09 5:43 
AnswerRe: Call a method using Windows forms Pin
dan!sh 11-Oct-09 5:57
professional dan!sh 11-Oct-09 5:57 
QuestionMonitor keys while the control is NOT in focus Pin
p3rson11-Oct-09 4:44
p3rson11-Oct-09 4:44 
AnswerRe: Monitor keys while the control is NOT in focus Pin
stancrm11-Oct-09 4:48
stancrm11-Oct-09 4:48 
AnswerRe: Monitor keys while the control is NOT in focus Pin
Anthony Mushrow11-Oct-09 7:06
professionalAnthony Mushrow11-Oct-09 7:06 
QuestionReturning datatable/dataset by from server in a Multithread Client server socket programming Pin
AhmedMasum11-Oct-09 2:55
AhmedMasum11-Oct-09 2:55 
AnswerRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
Eddy Vluggen11-Oct-09 3:51
professionalEddy Vluggen11-Oct-09 3:51 
GeneralRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
AhmedMasum12-Oct-09 4:25
AhmedMasum12-Oct-09 4:25 
GeneralRe: Returning datatable/dataset by from server in a Multithread Client server socket programming Pin
Eddy Vluggen12-Oct-09 5:25
professionalEddy Vluggen12-Oct-09 5:25 
QuestionTracing different threads Pin
manustone11-Oct-09 2:11
manustone11-Oct-09 2:11 
Hi all
I would like to use Trace class or TraceListener to make code tracing in each thread at a different indendation level.

//Example
Function #1 From Thread#1
Function #2 From Thread#1
                Function #1 From Thread#2
Function #3 From Thread#1
                Function #2 From Thread#2
                Function #3 From Thread#2


Most of Trace methods are shared so setting Trace.IndentLevel changes this value for all threads.
If I use 2 different objects for the same TraceListener, like for example ConsoleOutputTraceListener, there is no Thread safety guaranteed ( check IsThreadSafe for each object ).
Do you know some general approach to solve this issue?
Do I have to implement my own logger?
Kind Regards
Mn

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.