468,512 Members | 1,477 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

Cant see in debugger

I am new to C++ and to VS.... here is a quick unmanaged class I set up, my
constructor just zero's out the array's. The wierd thing is that I can see
all elements of outbuf with the debugger but only the first element of
FadeInfo..... all other elem,ents show (effectivly) zeroed out.

I have code that sets stuff and acts upon different elements in the FadeInfo
array, it all works but I can't see it in the debugger,

Any ideas????

struct FadeStruct
{
bool Fading; // Is Now fading
int StartTick; // Start tick time (tickcount)
int NumTicks; // num msec to fade
U16 StartLevPos; // 16bit val for 2chan
U16 EndLevPos; // 16bit val for 2chan
bool LevUp; // true if pos fade - false if fade down
U16 LevChange; // throw of fade, as in End-Start
bool Is2Byte; // Do 2 wide
};

class ArtNetStuff
{
private:
U8 outbuf[513];
ArtNetDMXStruct ArtNetDMX;
FadeStruct FadeInfo[513];
public:

ArtNetStuff(void);
~ArtNetStuff(void);
void SetChan(short Chan, U8 Level);
unsigned char GetChanLev(short Chan);
void DoFadeLoop(void);
void SetChanFadeProps(short Chan, float Time, short TargLev, bool Is2Byte,
bool IsForward);
int SetUpStuff(void);
};

Nov 17 '05 #1
0 879

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by jonathan | last post: by
11 posts views Thread by Ziaran _ | last post: by
1 post views Thread by Rhino | last post: by
1 post views Thread by Susanne Christe | last post: by
reply views Thread by Tillmann Neben | last post: by
3 posts views Thread by Rea | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.