Click here to Skip to main content
15,915,094 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to format a floppy disk? Pin
Shuang. Wu16-May-04 23:25
Shuang. Wu16-May-04 23:25 
AnswerRe: how to format a floppy disk? Pin
Alexander M.,16-May-04 23:58
Alexander M.,16-May-04 23:58 
GeneralRe: how to format a floppy disk? Pin
Shuang. Wu17-May-04 14:54
Shuang. Wu17-May-04 14:54 
GeneralCMD access Pin
contemptx16-May-04 22:57
contemptx16-May-04 22:57 
GeneralRe: CMD access Pin
Alexander M.,16-May-04 23:56
Alexander M.,16-May-04 23:56 
GeneralRe: CMD access Pin
David Crow17-May-04 2:40
David Crow17-May-04 2:40 
GeneralGetting the text of the MS Access SQL-View Edit Pin
steven1116-May-04 22:28
steven1116-May-04 22:28 
GeneralProblem with _beginthread Pin
Stephan Pilz16-May-04 21:57
Stephan Pilz16-May-04 21:57 
Hello,

I have a semaphore controlled thread queue in my application. Now I have a problem to start my threads from the queue.
After call of _beginthread I get a thread-id not equal -1 and not equal 0, but my thread is not started (no trace message from thread, no break in breakpoint).

If I "help the application" with debugger "set next statement" to an other call of the _beginthread, I get an other thread-id (!= -1 && != 0), but thread is not started. In Taskmanager the threadcount is not inkremented.

Who can help me?

My application worked correcly under W2K. After compile the code with the .NET compiler the application works fine, besides on only one computer. But this computer is the machine, there must run the application Frown | :(
Can it be a problem with not correct installed framework or libraries ?

An important remember is, that the threats will be started correcly after restart the application. After some thread calls (between 10 and 100) it doesnt work. All threads terminated via _endthread() and in a good time (1-300 seconds).

Thanks for any helping
STP
GeneralRe: Problem with _beginthread Pin
valikac17-May-04 6:54
valikac17-May-04 6:54 
GeneralRe: Problem with _beginthread Pin
Stephan Pilz17-May-04 20:06
Stephan Pilz17-May-04 20:06 
GeneralRe: Problem with _beginthread Pin
valikac17-May-04 20:16
valikac17-May-04 20:16 
GeneralA question for C++ gurus about exception handling Pin
Daniel Strigl16-May-04 21:13
Daniel Strigl16-May-04 21:13 
GeneralRe: A question for C++ gurus about exception handling Pin
Prakash Nadar16-May-04 21:39
Prakash Nadar16-May-04 21:39 
GeneralRe: A question for C++ gurus about exception handling Pin
Curi0us_George16-May-04 21:46
Curi0us_George16-May-04 21:46 
Generalconst function Pin
Jerome Conus16-May-04 20:53
Jerome Conus16-May-04 20:53 
GeneralRe: const function Pin
nguyenvhn16-May-04 21:12
nguyenvhn16-May-04 21:12 
GeneralRe: const function Pin
Jerome Conus16-May-04 21:32
Jerome Conus16-May-04 21:32 
GeneralRe: const function Pin
Curi0us_George16-May-04 21:56
Curi0us_George16-May-04 21:56 
GeneralRe: const function Pin
Jerome Conus16-May-04 22:51
Jerome Conus16-May-04 22:51 
GeneralRe: const function Pin
Curi0us_George16-May-04 23:39
Curi0us_George16-May-04 23:39 
GeneralRe: const function Pin
nguyenvhn16-May-04 22:53
nguyenvhn16-May-04 22:53 
GeneralRe: const function Pin
Michael Dunn17-May-04 0:41
sitebuilderMichael Dunn17-May-04 0:41 
GeneralRe: const function Pin
Antony M Kancidrowski17-May-04 1:18
Antony M Kancidrowski17-May-04 1:18 
GeneralJPG Image In Picture Control Pin
balajeedurai16-May-04 19:56
balajeedurai16-May-04 19:56 
GeneralRe: JPG Image In Picture Control Pin
ThatsAlok3-May-05 23:20
ThatsAlok3-May-05 23:20 

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.