Hope someone knows the answer here.
I am trying to return a Action descriptor that I create on a PS application in my PS plugin but I can't seem to return it:
PIActionDescriptor desc = NULL;
PIActionDescriptor desc2 = NULL;
sPSActionDescriptor->PutString(desc2, 'Glob', "MyString");
//This is not getting the reference to desc2
sPSRegistry->Get("Glob" , &desc);
sPSActionDescriptor->GetString(desc, 'Glob', myOutput, 512);
Any help here would be appreciated!