On Saturday, February 8, 2003, at 01:49 PM, burhan ahmad wrote:

can anybody plz tell me why cant i copy to second1[0];
char **second1;//intitialized as below
second1 = (Char **) MemPtrNew(15 * sizeof(Char *));


StrCopy(second1[0], CurrentNode->product);
...get the fire hose ready bubba...

it gives null string passed error although there is char value in product.
yeah, what about the destination then.....?

After allocating space for your pointers, maybe try allocatin some space for them to point to. Life may run a little smoother after that!

Sean Charles.


--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Reply via email to