From: Starglider 4 on
Hi,

I've got a problem with the visual studio 2k5 environment:
Above the main editing screen you have 2 lists:
scope and functions. I use a lot of source files, headers, resources,
plus 2 projects (one of which is the setup project).
The problem is, that in one of the source files the above
lists are empty.
How to fix this?

Thanks!

MK


From: Ulrich Eckhardt on
Starglider 4 wrote:
> Above the main editing screen you have 2 lists: scope and
> functions. [...] The problem is, that in one of the source files
> the above lists are empty. How to fix this?

No idea how to fix that, but if you delete the .BSC file which is typically
right next to your .SLN file, it forces the IDE to regenerate it and parse
the whole sources another time. Often this helps.

Uli

--
C++ FAQ: http://parashift.com/c++-faq-lite

Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
From: Starglider 4 on
I've tried the .bsc trick. It didn't work.
I suppose, if you add all .cpp files to the 'source files' in the
solution explorer, they will be processed into the .bsc info.
However, how do you specify, which .cpp is the <main> source file?

MK


"Ulrich Eckhardt" <eckhardt(a)satorlaser.com> schreef in bericht
news:u0b837-vfv.ln1(a)satorlaser.homedns.org...
> Starglider 4 wrote:
>> Above the main editing screen you have 2 lists: scope and
>> functions. [...] The problem is, that in one of the source files
>> the above lists are empty. How to fix this?
>
> No idea how to fix that, but if you delete the .BSC file which is
> typically
> right next to your .SLN file, it forces the IDE to regenerate it and parse
> the whole sources another time. Often this helps.
>
> Uli
>
> --
> C++ FAQ: http://parashift.com/c++-faq-lite
>
> Sator Laser GmbH
> Gesch�ftsf�hrer: Thorsten F�cking, Amtsgericht Hamburg HR B62 932


From: Ulrich Eckhardt on
Starglider 4 wrote:
> I suppose, if you add all .cpp files to the 'source files' in the
> solution explorer, they will be processed into the .bsc info.

Yes.

> However, how do you specify, which .cpp is the <main> source file?

There is no such thing, what exactly do you mean? There must be exactly one
main() in your program (or WinMain or something like that) and that is the
place where your program starts.

Uli


--
C++ FAQ: http://parashift.com/c++-faq-lite

Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932