Thank you. But still, nothing works. I have no idea why.
I try to open a pre-composition I have just built and added to my main composition.
===============================================================
Here's my source code:
AEGP_Collection2H collection = NULL;
AEGP_CollectionItemV2 coll_item;
coll_item.u.layer.layerH = temp_layerH;
ERR(suites.CollectionSuite2()->AEGP_NewCollection(globP->my_id, &collection));
ERR(suites.CollectionSuite2()->AEGP_CollectionPushBack(collection, &coll_item));
ERR(suites.CompSuite5()->AEGP_SetSelection(main_compH, collection));
ERR(suites.CommandSuite1()->AEGP_DoCommand(3061)); //3061 = open selection
ERR(suites.CollectionSuite2()->AEGP_DisposeCollection(collection));
=============================================================
Where am I wrong? When I debug, every single line of code is done, but nothing seems to happen.