Mojo for Dark Age of Camelot (DAOC)
Home > Features > Launch toons with other programs
FEATURE

Launch toons with other programs

Mojo contains a tiny API that allows other programs to use Mojo to launch toons.

The other programs must send a WM_COPYDATA message to Mojo's main window with the following null-terminated UTF-16 string:

Mojo launch DAOC TOON SERVER

Replace TOON and SERVER with the toon's name and server's name.

The string is case insensitive.

Please note that Mojo always runs with elevated privileges. In order for another program to send messages to Mojo, it must also have elevated privileges, otherwise the operating system will silently fail to deliver the messages.

To make it easier for other programs to identify Mojo's main window, that window will return its handle when it receives a registered message that is obtained from the operating system with the following identifier:

{A6BFB311-B46C-4D21-9862-88009EAA3241}

Other ways to launch

This page was last modified on January 21, 2014