Click here to Skip to main content
15,885,537 members
Home / Discussions / C#
   

C#

 
GeneralRe: ValueMember of comboBox problem Pin
Christian Graus22-Jan-06 11:09
protectorChristian Graus22-Jan-06 11:09 
QuestionCompiling and using C Code in .Net C# Pin
gulmisal19-Jan-06 11:17
gulmisal19-Jan-06 11:17 
AnswerRe: Compiling and using C Code in .Net C# Pin
Nick Parker19-Jan-06 11:45
protectorNick Parker19-Jan-06 11:45 
AnswerRe: Compiling and using C Code in .Net C# Pin
Christian Graus19-Jan-06 12:05
protectorChristian Graus19-Jan-06 12:05 
Question[Message Deleted] Pin
DarrenFerne19-Jan-06 9:36
DarrenFerne19-Jan-06 9:36 
AnswerRe: How do I get a control to draw outside its client area Pin
Guffa19-Jan-06 13:13
Guffa19-Jan-06 13:13 
QuestionRTF header. Pin
Agyeman19-Jan-06 8:51
Agyeman19-Jan-06 8:51 
QuestionRCW message, Thread pool Pin
2hdass19-Jan-06 8:36
2hdass19-Jan-06 8:36 
I was Testing my program, which is a thread/database intense program. I ran it in VS, and it runs perfectly and all of a sudden gives me a popup box with this message:

Managed Debugging Assistant 'RaceOnRCWCleanup' has detected a problem in 'C:\Documents and Settings\Wallace\My Documents\Visual Studio 2005\Projects\Visual Waiter\Visual Waiter\VWServer\bin\Debug\VWServer.vshost.exe'.
Additional Information: An attempt has been made to free an RCW that is in use. The RCW is in use on the active thread or another thread. Attempting to free an in-use RCW can cause corruption or data loss.

What does this mean? whats RCW?

It looks like to be that everytime this message pops up, the program is stopped at

dbConnection.Close();

Maybe I am closing the connection somewhere else? so i have 2 .Close() somehow causing race condition?

I used threadpool in my prgoram to handle the threads, it seems like that it is only running 2 threads at the same time. I hope there is a property i can set in Threadpool that i can increase the amount of concurrent running threads??

-- modified at 15:37 Thursday 19th January, 2006
AnswerRe: RCW message, Thread pool Pin
Dave Kreskowiak19-Jan-06 13:33
mveDave Kreskowiak19-Jan-06 13:33 
GeneralRe: RCW message, Thread pool Pin
Monika Dayal6-Feb-20 0:28
Monika Dayal6-Feb-20 0:28 
GeneralRe: RCW message, Thread pool Pin
Dave Kreskowiak6-Feb-20 2:53
mveDave Kreskowiak6-Feb-20 2:53 
QuestionAccessing .AVI As Embedded Resource Pin
rich_wenger19-Jan-06 7:45
rich_wenger19-Jan-06 7:45 
Questionto trigger some actions after form load. Pin
Manu_8119-Jan-06 7:37
Manu_8119-Jan-06 7:37 
AnswerRe: to trigger some actions after form load. Pin
mav.northwind19-Jan-06 8:05
mav.northwind19-Jan-06 8:05 
GeneralRe: to trigger some actions after form load. Pin
Manu_8119-Jan-06 8:19
Manu_8119-Jan-06 8:19 
GeneralRe: to trigger some actions after form load. Pin
Werdna19-Jan-06 11:35
Werdna19-Jan-06 11:35 
GeneralRe: to trigger some actions after form load. Pin
RaviGupta798623-Jul-10 22:48
RaviGupta798623-Jul-10 22:48 
Questiondouble accuracy and equality Pin
vineas19-Jan-06 7:06
vineas19-Jan-06 7:06 
AnswerRe: double accuracy and equality Pin
Michael Potter19-Jan-06 11:28
Michael Potter19-Jan-06 11:28 
GeneralRe: double accuracy and equality Pin
vineas19-Jan-06 16:36
vineas19-Jan-06 16:36 
AnswerRe: double accuracy and equality Pin
Guffa19-Jan-06 12:40
Guffa19-Jan-06 12:40 
Questionquery on data columns Pin
dvsr19-Jan-06 7:04
dvsr19-Jan-06 7:04 
AnswerRe: query on data columns Pin
vineas19-Jan-06 7:24
vineas19-Jan-06 7:24 
GeneralRe: query on data columns Pin
dvsr19-Jan-06 12:15
dvsr19-Jan-06 12:15 
AnswerRe: query on data columns Pin
Wjousts19-Jan-06 9:49
Wjousts19-Jan-06 9:49 

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.