Click here to Skip to main content
15,902,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sys Info Pin
Bob Stanneveld17-Dec-03 0:27
Bob Stanneveld17-Dec-03 0:27 
GeneralRe: Sys Info Pin
Alexander M.,18-Dec-03 8:51
Alexander M.,18-Dec-03 8:51 
GeneralRe: Sys Info Pin
BaldwinMartin18-Dec-03 9:54
BaldwinMartin18-Dec-03 9:54 
GeneralString Pin
Anonymous16-Dec-03 8:15
Anonymous16-Dec-03 8:15 
GeneralRe: String Pin
Alexander M.,16-Dec-03 9:00
Alexander M.,16-Dec-03 9:00 
GeneralRe: String Pin
WREY17-Dec-03 8:59
WREY17-Dec-03 8:59 
QuestionHow to display VC++ .NET style MessageBox using Visual C++ 6 Pin
bin892216-Dec-03 7:45
bin892216-Dec-03 7:45 
Generalmultiple thread problem... Pin
Anonymous16-Dec-03 6:44
Anonymous16-Dec-03 6:44 
I am writing a scientific program that uses multiples threads to separate the GUI from the scientific simulation. I am using the CRT library so I am using the _beginthreadex() routine to start the "worker" thread. The problem is this: every once in a while (it is not reproducible, I have worked weeks on coming up with a reproducible situation but have never been successful) the _beginthreadex() routine will return NULL. When I check the error using GetLastError(), it states that there is not enough memory to run the thread. Once this error occurs, the thread cannot be started and the program must be restarted before it will successfully start the thread. When this error occurs the system is not out of memory and the program is not using much memory itself (as evidenced by the Windows task manager. This is an extremely frustrating problem for me and the other people that use this program. Has anyone had any similar experiences and can point me in the right direction for handling this problem.

Thanks,

Jay
GeneralRe: multiple thread problem... Pin
John M. Drescher16-Dec-03 7:53
John M. Drescher16-Dec-03 7:53 
Generaloverruling new/delete, malloc/free Pin
Patje16-Dec-03 6:07
Patje16-Dec-03 6:07 
GeneralRe: overruling new/delete, malloc/free Pin
Alexander M.,16-Dec-03 9:05
Alexander M.,16-Dec-03 9:05 
QuestionHow to make a cab file with safe MFC control?? Pin
aglcic16-Dec-03 5:50
aglcic16-Dec-03 5:50 
AnswerRe: How to make a cab file with safe MFC control?? Pin
Roger Stewart16-Dec-03 14:37
professionalRoger Stewart16-Dec-03 14:37 
GeneralHelp with serialization Pin
Juan Carlos Cobas16-Dec-03 5:16
Juan Carlos Cobas16-Dec-03 5:16 
GeneralRe: Help with serialization Pin
Juan Carlos Cobas16-Dec-03 5:57
Juan Carlos Cobas16-Dec-03 5:57 
GeneralHTTP Post Pin
si_6916-Dec-03 4:58
si_6916-Dec-03 4:58 
GeneralExperts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 4:37
oren frenkel16-Dec-03 4:37 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 5:31
Felix Gartsman16-Dec-03 5:31 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 5:44
oren frenkel16-Dec-03 5:44 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
Felix Gartsman16-Dec-03 7:39
Felix Gartsman16-Dec-03 7:39 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:40
oren frenkel16-Dec-03 22:40 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher16-Dec-03 7:56
John M. Drescher16-Dec-03 7:56 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel16-Dec-03 22:38
oren frenkel16-Dec-03 22:38 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
John M. Drescher17-Dec-03 4:11
John M. Drescher17-Dec-03 4:11 
GeneralRe: Experts - help - Memory Allocation with disabling paging / swapping Pin
oren frenkel17-Dec-03 4:18
oren frenkel17-Dec-03 4:18 

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.