Originally Posted By: amy
char name[20];
char filename[33];
char action[20];

I have problems with those strings in the entity struct. Are you sure the sizes are okay? There also seem to be two different entity types (7 and 3). What is the difference between them?

The sizes are wrong. When i was writing a parser in C# i kept getting the wrong part of the file when using the sizes in the documentation. I opened up a .wmb in a binary editor and found that the data was 33 bytes apart from each other, so i used 33 for each field.

Entity type 3 is one that has no action applied (static). Entity type 7 has an action attached (dynamic). JCL says to use type 7.

Last edited by DJBMASTER; 07/17/09 03:27.