Click here to Skip to main content
15,900,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generala problem about showing tooltips of the toolbar Pin
benben26-Jun-05 23:16
benben26-Jun-05 23:16 
GeneralRe: a problem about showing tooltips of the toolbar Pin
Rage27-Jun-05 1:16
professionalRage27-Jun-05 1:16 
GeneralRe: Thank your very much! Pin
benben27-Jun-05 19:01
benben27-Jun-05 19:01 
GeneralON_WM_TIMER Pin
bartvandiepen26-Jun-05 23:14
bartvandiepen26-Jun-05 23:14 
GeneralRe: ON_WM_TIMER Pin
S. Senthil Kumar26-Jun-05 23:54
S. Senthil Kumar26-Jun-05 23:54 
GeneralRe: ON_WM_TIMER Pin
bartvandiepen27-Jun-05 2:46
bartvandiepen27-Jun-05 2:46 
GeneralRe: ON_WM_TIMER Pin
FlyingTinman27-Jun-05 14:07
FlyingTinman27-Jun-05 14:07 
Questiondoes BHO have max memory limit? Pin
petevam26-Jun-05 23:04
petevam26-Jun-05 23:04 
Hi,

I've trying to create a browser helper object (BHO) for explorer. I've got a main "manager" class that initializes two objects. Each of these uses an simple XML parser (using MSXML). Now, when parsing XML files, I want to store the results to a struct array (not a class). The struct array is in turn comprised of a few other struct arrays. All mem allocation is static, only the topmost parent struct array is dynamically allocated. That's where the problem is: When I allocate (using new) the struct arr in the first object, its ok. Then when I init the second obj, the new fails and crushes the explorer. I did a simple test in the second obj:

int *i = new int[x];

when x is <255 it's ok. if x>=255 then it crashes (and of course, my struct arr is bigger than 255*sizeof(int) bytes). I don't think I have any serious mem leaks in the code before this.

Has anyone seen this before? Is there a memory limit imposed by explorer (unlikely as it sounds)? I would appreciate any comments.

Thanks,
Pete
GeneralEditing flexgrid Pin
emmatty26-Jun-05 22:27
emmatty26-Jun-05 22:27 
GeneralRe: Editing flexgrid Pin
erkanina28-Jun-05 2:11
erkanina28-Jun-05 2:11 
GeneralHey Guys Its me Psycho the Newbie again *DOH* Pin
Psych0hans26-Jun-05 22:04
Psych0hans26-Jun-05 22:04 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
One Stone26-Jun-05 22:06
One Stone26-Jun-05 22:06 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
Psych0hans26-Jun-05 22:11
Psych0hans26-Jun-05 22:11 
GeneralRe: Hey Guys Its me Psycho the Newbie again *DOH* Pin
Rahim Rattani26-Jun-05 22:13
Rahim Rattani26-Jun-05 22:13 
GeneralProblem with dialogs and windows themes Pin
Mathefreak26-Jun-05 21:27
Mathefreak26-Jun-05 21:27 
QuestionHow to copy ONLY the updated data from a large file? Pin
jahfer26-Jun-05 21:27
jahfer26-Jun-05 21:27 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 1:29
khan++27-Jun-05 1:29 
GeneralRe: How to copy ONLY the updated data from a large file? Pin
jahfer27-Jun-05 2:19
jahfer27-Jun-05 2:19 
GeneralRe: How to copy ONLY the updated data from a large file? Pin
khan++27-Jun-05 2:59
khan++27-Jun-05 2:59 
AnswerRe: How to copy ONLY the updated data from a large file? Pin
John M. Drescher1-Jul-05 8:00
John M. Drescher1-Jul-05 8:00 
GeneralImage Transformation Pin
ThatsAlok26-Jun-05 20:12
ThatsAlok26-Jun-05 20:12 
GeneralRe: Image Transformation Pin
FlyingTinman26-Jun-05 21:50
FlyingTinman26-Jun-05 21:50 
GeneralRe: Image Transformation Pin
ThatsAlok26-Jun-05 22:47
ThatsAlok26-Jun-05 22:47 
GeneralUsing databases in vc++ Pin
smartymanav26-Jun-05 20:06
smartymanav26-Jun-05 20:06 
GeneralRe: Using databases in vc++ Pin
ThatsAlok26-Jun-05 20:15
ThatsAlok26-Jun-05 20:15 

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.