3 Replies Latest reply: Feb 4, 2011 5:49 AM by Mike Basil RSS

    Issue with AEGP_GetNextProjItem().

    dheeraj_c Community Member

      Hi All,

                I applied my effect and saved the project on MAC CS4. When I opened it again on MAC it worked fine. When I opened it on Windows CS4, AE hangs. When I debugged, the issue was that AEGP_GetNextProjItem() was failing to return a new item. After 4 or 5 times it started returning same item. This is not happening for all the projects which are saved in MAC CS4. It's happening only for one project. What could be the issue?

       

      I use the following code to get the next project item from my AEGP:

       

      AEGP_ItemH            itemH;
      AEGP_ProjectH        projH            = NULL;

       

      ERR(suites.ProjectSuite4()->AEGP_GetProjectByIndex(0, &projH));

      ERR(suites.ItemSuite8()->AEGP_GetFirstProjItem(projH, &itemH));

      while(itemH != 0L)

      {

           //do something

           ERR(suites.ItemSuite6()->AEGP_GetNextProjItem(projH, itemH, &itemH));

      }

       

      Thanks,

      Dheeraj