Jump to content
LaunchBox Community Forums

Programmatically setting IAdditionalApplication as game default


Recommended Posts

Hi,

I'm trying to programmatically set a game's additional application to its default. There is no e.g. SetAsDefault method on the IAdditionalApplication object, and my attempts to replicate this functionality with a custom method have been unsuccessful. For one thing, I'm barely good enough at programming to productively attempt such a routine. For another, when I use IGame's TryRemoveAdditionalApplication method, it seems to only partially succeed, deleting the data but leaving an empty container (an IAdditionalApplication with all visible fields set to empty) that I can't otherwise get rid of.

Please advise:

1) Is there a way to set an additional application as the game default that I am not seeing?

2) If not, can one be added to the API (i.e., by Jason)?

3) If not, does anyone have a working routine I can drop into my code, or can otherwise advise me on how to accomplish?

Thank you!

Aaron

Edited by utopicide
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...