C (37/178)

From:David McMinn
Date:13 Jul 2000 at 14:47:32
Subject:iffparse

can anyone explain what an "iff syntax error" is? I'm getting it returned by
PushChunk and don't know why.

The code I have goes something like this:

PushChunk(iff, MAKE_ID('P','R','E','F'), ID_FORM, IFFSIZE_UNKNOWN);
PushChunk(iff, 0, MAKE_ID('P','R','H','D'), IFFSIZE_UNKNOWN);
WriteChunkBytes(iff, prefheader, 6);
PopChunk(iff);

/* fails here with "IFF syntax error" */
PushChunk(iff, 0, id, IFFSIZE_UNKNOWN);
/* causing everything under here to not get written to file */

Thanks in advance.



|) /\ \/ ][ |) |\/| c |\/| ][ |\| |\| | dave@satanicdreams.com
http://members.xoom.com/David_McMinn | ICQ=16827694
God loves stupid people. That's why he made so many.

------------------------------------------------------------------------
BTW: Did you buy that new car yet?
If not, check this site out.
They're called CarsDirect.com and it's a pretty sweet way to buy a car.
http://click.egroups.com/1/6847/1/_/451227/_/963496046/
------------------------------------------------------------------------