struct projectStructure
{
int mgrItem;
int buyrItem;
int decisionItem;
int artItem;
int cpyItem;
int advItem;
int lstItem;
int lblItem;
int prnItem;
int afixItem;
int delvrItem;
};
typedef struct projectStructure project;

//This is in a c source file. When I type:

int main()
{
project july4sale;
july4sale.artItem=20
....
}

I do not get intellisense at this point july4sale. Nothing happens =
after I type the period. I know it works the code seems correct but =
intellisense doesn't work. What have I done wrong? Thanks. Visual C++ =
6 SP5 Windows 2000.

--=20
George Hester
__________________________________

Re: Can someone explain why Intellisense does not wotk here? - VC6 by William

William
Fri Jun 18 17:13:53 CDT 2004

"George Hester" <hesterloli@hotmail.com> wrote in message
news:%238etS8XVEHA.3336@TK2MSFTNGP11.phx.gbl...
> I know it works the code seems correct but
> intellisense doesn't work. What have I done
> wrong?

Maybe nothing. Intellisense is a bit cranky. When it fails, I close the
project, delete the .ncb (and only the .ncb file) and rebuild.

Often, but not always, that'll do ya. Just btw, Intellisense is better in
VS.Net

Regards,
Will



Re: Can someone explain why Intellisense does not wotk here? - VC6 by Norm

Norm
Fri Jun 18 23:22:51 CDT 2004

"William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
news:erbPLGYVEHA.3428@TK2MSFTNGP12.phx.gbl...
> "George Hester" <hesterloli@hotmail.com> wrote in message
> news:%238etS8XVEHA.3336@TK2MSFTNGP11.phx.gbl...
> > I know it works the code seems correct but
> > intellisense doesn't work. What have I done
> > wrong?
>
> Maybe nothing. Intellisense is a bit cranky. When it fails, I close the
> project, delete the .ncb (and only the .ncb file) and rebuild.
>
> Often, but not always, that'll do ya. Just btw, Intellisense is better in
> VS.Net
>

Sometimes -- but only sometimes -- ctrl+space wakes it up.

Norm


Re: Can someone explain why Intellisense does not wotk here? - VC6 by George

George
Fri Jun 18 23:42:37 CDT 2004

The funny thing is it never worked. I have a different c source that =
uses:

struct employeeStructure
{
char name[100];
char mgr[100];
char ssn[20];
};
typedef struct employeeStructure employee;

int mani()
{
employee Mary;
employee Sam;
Mary.name
...
}

and I get the intellisense Mary. gives what's in the struct. But not =
the one I originally provided. I will try those suggestions and thanks =
for the way to "wake it up." I don't know maybe it has something to do =
with arrays and ints??? One time I hit july4sale. and the VC 6 sat =
there spitting and choking like it was going to intellisense and then =
gave up the ghost. No intellisense when it caught its breadth.

--=20
George Hester
__________________________________
"Norm Dresner" <ndrez@att.net> wrote in message =
news:vcPAc.4103$OB3.2167@bgtnsc05-news.ops.worldnet.att.net...
> "William DePalo [MVP VC++]" <willd.no.spam@mvps.org> wrote in message
> news:erbPLGYVEHA.3428@TK2MSFTNGP12.phx.gbl...
> > "George Hester" <hesterloli@hotmail.com> wrote in message
> > news:%238etS8XVEHA.3336@TK2MSFTNGP11.phx.gbl...
> > > I know it works the code seems correct but
> > > intellisense doesn't work. What have I done
> > > wrong?
> >
> > Maybe nothing. Intellisense is a bit cranky. When it fails, I close =
the
> > project, delete the .ncb (and only the .ncb file) and rebuild.
> >
> > Often, but not always, that'll do ya. Just btw, Intellisense is =
better in
> > VS.Net
> >
>=20
> Sometimes -- but only sometimes -- ctrl+space wakes it up.
>=20
> Norm
>

Re: Can someone explain why Intellisense does not wotk here? - VC6 by Carl

Carl
Fri Jun 18 23:48:56 CDT 2004

George Hester wrote:
> The funny thing is it never worked.

My rule of thumb is this:

Intellisense for C++ doesn't work.

In Whidbey (VC8), it's much better - the intent is that it "just works" (of
course, Whidbey isn't shipping yet, so only time will tell how close they
come to "it just works").

My experience has been that pre-Whidbey there are so many unpredictable,
nonsensical cases that totally trash Intellisense that the product would be
improved by removing it.

I really look forward to it working well in Whidbey. After doing some C#
programming where Intellisense really works, I really miss it in C++.

-cd