Click here to Skip to main content
15,910,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VC6 to VC.NET Pin
Maarten Kools13-Apr-04 11:53
professionalMaarten Kools13-Apr-04 11:53 
GeneralRe: VC6 to VC.NET Pin
Paul Ranson13-Apr-04 12:01
Paul Ranson13-Apr-04 12:01 
GeneralRe: VC6 to VC.NET Pin
brdavid13-Apr-04 15:03
brdavid13-Apr-04 15:03 
GeneralRe: VC6 to VC.NET Pin
Paul Ranson14-Apr-04 4:31
Paul Ranson14-Apr-04 4:31 
General"show Desktop" interceptor Pin
shrimps2413-Apr-04 10:56
shrimps2413-Apr-04 10:56 
GeneralRe: "show Desktop" interceptor Pin
shrimps2413-Apr-04 10:57
shrimps2413-Apr-04 10:57 
GeneralRe: "show Desktop" interceptor Pin
gUrM33T13-Apr-04 15:42
gUrM33T13-Apr-04 15:42 
GeneralStack Problem Clarified Pin
Anonymous13-Apr-04 10:26
Anonymous13-Apr-04 10:26 
I realize what's going on now, but I can't fix it. Take a look at this an it'll explain my situation.


#define VERY_LARGE_NUM 9999...


main()
{
double dummy[VERY_LARGE_NUM]

for(i...
{
//create a few threads
createThread....
}
....
}

The program bombs out when I try this because the dummy array allocates more than the 1 meg. Hence, I change the stack reserve and commit to a large value. This fixes the bombing out problem, but creates a new one. The create thread function will only create X num of threads while I want Y num of threads. I tried setting the stack param in the create thread func but it did nothing for me. What can be done. The /3GB flag is not an option because the target machine's OS does not support it.



GeneralRe: Stack Problem Clarified Pin
Anonymous13-Apr-04 10:27
Anonymous13-Apr-04 10:27 
GeneralRe: Stack Problem Clarified Pin
Daniel Turini13-Apr-04 10:58
Daniel Turini13-Apr-04 10:58 
GeneralRe: Stack Problem Clarified Pin
Anonymous14-Apr-04 1:07
Anonymous14-Apr-04 1:07 
GeneralRe: Stack Problem Clarified Pin
Paul Ranson14-Apr-04 4:20
Paul Ranson14-Apr-04 4:20 
GeneralRelease Mode ATL Problem Pin
nlecren13-Apr-04 9:58
nlecren13-Apr-04 9:58 
GeneralCheck the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:20
Renjith Ramachandran13-Apr-04 8:20 
GeneralRe: Check the Status of a URL Pin
David Crow13-Apr-04 8:31
David Crow13-Apr-04 8:31 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 8:43
Renjith Ramachandran13-Apr-04 8:43 
GeneralRe: Check the Status of a URL Pin
basementman13-Apr-04 9:50
basementman13-Apr-04 9:50 
GeneralRe: Check the Status of a URL Pin
Renjith Ramachandran13-Apr-04 21:01
Renjith Ramachandran13-Apr-04 21:01 
GeneralRe: Check the Status of a URL Pin
basementman14-Apr-04 3:56
basementman14-Apr-04 3:56 
GeneralUnmanaged pointer in a managed class? (C3160) Pin
mccoyn13-Apr-04 8:19
mccoyn13-Apr-04 8:19 
GeneralStack overflow problem Pin
Anonymous13-Apr-04 8:16
Anonymous13-Apr-04 8:16 
GeneralRe: Stack overflow problem Pin
Blake Miller14-Apr-04 5:53
Blake Miller14-Apr-04 5:53 
GeneralTree Control Questions. Pin
Maximilien13-Apr-04 7:47
Maximilien13-Apr-04 7:47 
GeneralRe: Tree Control Questions. Pin
Iain Clarke, Warrior Programmer13-Apr-04 23:23
Iain Clarke, Warrior Programmer13-Apr-04 23:23 
General2 ListBoxes 1 scrollbar Pin
doctorpi13-Apr-04 7:35
doctorpi13-Apr-04 7:35 

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.