"A C" <no@sp.am> wrote in message
news:yLR_b.1213$SZ.55731@news.xtra.co.nz...[color=blue]
> Hi
> Can someone explain why the following is happening.
>
> ProjectA <-- depends on B, C, ....
> ProjectB
> ProjectC... etc
>
> Project B contains b.cpp and b.h. Also has conditional compiler directive
> which is NOT present in ProjectA
> ProjectA includes b.h
>
> b.h defines a struct which uses the conditional compile directive to
> determine whether to include a new item.
> eg typedef struct {
> double b1,
> #ifdef MY_B_DIRECTIVE
> bnew,
> #endif MY_B_DIRECTIVE
> b2;} b_struct_t;
>
> If we run the project and stop at the near the beginning of b.cpp and look
> at an object that contains members of type b_struct_t (or has children
> objects which contain members....) the debugger does not display[/color]
correctly.
Debuggers are not topical here. Only the standard C++ language.
See:
http://www.slack.net/~shiva/welcome.txt
Ask about the VC++ debugger at newsgroup:
microsoft.public.vc.debugger
If your news server doesn't have this group, connect your news client
to Microsoft's public news server: msnews.microsoft.com
Information about Microsoft developer products also available
at
www.msdn.microsoft.com
-Mike