I have registered my application:
Then I want to get the identifier to show to users so they can find my app (there may be multiple copies running):
I only get garbage returned. What is the correct way to do this? Do I need to specify more tags in RegisterApplication()?
appID=IApplication->RegisterApplication(PROJECT_NAME2, REGAPP_URLIdentifier, "projectname.com", REGAPP_Description, "My program description", REGAPP_AppIconInfo, AppIconInfo, REGAPP_FileName, ProgramComplete, REGAPP_HasIconifyFeature, TRUE, REGAPP_HasPrefsWindow, TRUE, REGAPP_CanCreateNewDocs, TRUE, TAG_END);
char appIDName[256]; IApplication->GetApplicationAttrs(appID, APPATTR_Port, &AppLibPort, APPATTR_AppIdentifier, &appIDName, TAG_DONE);