Click here to Skip to main content
15,921,226 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What's the benefit using serialization? Pin
Blake Miller23-Nov-04 9:26
Blake Miller23-Nov-04 9:26 
GeneralAcess and C++ application Pin
krimkrim22-Nov-04 8:54
krimkrim22-Nov-04 8:54 
GeneralRe: Acess and C++ application Pin
BaldwinMartin23-Nov-04 10:06
BaldwinMartin23-Nov-04 10:06 
GeneralNeed help for this assignment.... Pin
rudylili22-Nov-04 8:04
rudylili22-Nov-04 8:04 
GeneralRe: Need help for this assignment.... Pin
David Crow22-Nov-04 8:47
David Crow22-Nov-04 8:47 
GeneralRe: Need help for this assignment.... Pin
namaskaaram22-Nov-04 23:49
namaskaaram22-Nov-04 23:49 
GeneralRe: Need help for this assignment.... Pin
rudylili23-Nov-04 3:51
rudylili23-Nov-04 3:51 
GeneralSomething is not releasing the resources after program quits Pin
Budric B.22-Nov-04 7:50
Budric B.22-Nov-04 7:50 
Hi,
I was wondering if someone with more knowledge of the windows XP and drivers can help me debug a problem. I use a CMU 1394 Camera driver that comes with an API to connect and capture some images from a camera. The problem is that after a few times of starting and stopping the program the program no longer runs with an error that there are not enough 1394 bus resources. So something doesn't get released, I need to restart the computer. I call the API functions from threads, but I check and I destroy all the threads after a certain time using:
if ( (::WaitForSingleObject( pThread1->m_hThread , 12000 )) == WAIT_TIMEOUT )
::TerminateThread( pThread1->m_hThread , 0 ) ;

Now the problem is that looking at my code I destroy all my threads. Using a program such as Sysinternals Process Explorer or the Task Manager all the threads and the process from my program get destroyed. I don't see what's holding the resources so that I can end it.

Any suggestions on programs or things to try?
Thanks.
GeneralRe: Something is not releasing the resources after program quits Pin
Maximilien22-Nov-04 8:18
Maximilien22-Nov-04 8:18 
Generaldon't know Pin
Budric B.22-Nov-04 8:47
Budric B.22-Nov-04 8:47 
Generalstatic transparent background Pin
LukeV22-Nov-04 7:44
LukeV22-Nov-04 7:44 
GeneralRe: static transparent background Pin
BaldwinMartin23-Nov-04 10:09
BaldwinMartin23-Nov-04 10:09 
GeneralOutput help Pin
Anonymous22-Nov-04 7:36
Anonymous22-Nov-04 7:36 
GeneralRe: Output help Pin
David Crow22-Nov-04 8:05
David Crow22-Nov-04 8:05 
GeneralRe: Output help Pin
namaskaaram22-Nov-04 18:36
namaskaaram22-Nov-04 18:36 
GeneralRe: Output help Pin
namaskaaram22-Nov-04 22:17
namaskaaram22-Nov-04 22:17 
QuestionHow can I know where a program leaks memory if it hangs after 48 hours of working? Pin
Joan M22-Nov-04 6:45
professionalJoan M22-Nov-04 6:45 
AnswerRe: How can I know where a program leaks memory if it hangs after 48 hours of working? Pin
BlackDice22-Nov-04 8:46
BlackDice22-Nov-04 8:46 
AnswerRe: How can I know where a program leaks memory if it hangs after 48 hours of working? Pin
floresa922-Nov-04 11:54
floresa922-Nov-04 11:54 
Generalslider Pin
teneff22-Nov-04 4:42
teneff22-Nov-04 4:42 
GeneralRe: slider Pin
David Crow22-Nov-04 4:51
David Crow22-Nov-04 4:51 
GeneralRe: slider Pin
teneff22-Nov-04 5:18
teneff22-Nov-04 5:18 
GeneralRe: slider Pin
David Crow22-Nov-04 6:12
David Crow22-Nov-04 6:12 
GeneralWinprog OPENFILENAME Pin
henry12822-Nov-04 3:22
henry12822-Nov-04 3:22 
GeneralRe: Winprog OPENFILENAME Pin
David Crow22-Nov-04 5:12
David Crow22-Nov-04 5:12 

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.