Launch Toons with Other Programs

Using Mojo’s API, you can write your own programs that launch toons in Dark Age of Camelot (DAOC).

Mojo contains a tiny application programming interface (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:


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:


Other ways to launch

This page was first published on January 21, 2014 and last modified on October 7, 2019