Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic SetCellVariantTag (Read 2000 times)
dflux
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Sep 5th, 2006
SetCellVariantTag
Oct 19th, 2006 at 1:36pm
Print Post  
hello,

I have a piece of code that is crashing
and I'm not sure exactly why.

I am tying to assign an int value to a table's cell
like this:

TableItem t;

// some table setup code omitted..

VARIANT varTag;
VariantInit(&varTag);
varTag.vt = VT_INT;
varTag.intVal = 1; // 1 is the value
t.SetCellVariantTag((0, rowNum, varTag); // crash

I get an exception with no descriptive text.

any help is appreciated..

dflux
  
Back to top
 
IP Logged
 
dflux
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Sep 5th, 2006
Re: SetCellVariantTag
Reply #1 - Oct 19th, 2006 at 1:41pm
Print Post  
never mind.  I figured it out.
operator error. Embarrassed

thanks.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint