I'm relatively new to the use of lite-c (long time c-script user here) and I'm having some issues getting the plugin system to work. I've written a plugin for our team project that allows easy customization of game parameters, but actually getting A8 to recognize it is another story.

The manual tells me I can just drop the DLL in the acknex_plugins folder; I've tried that as well as having it directly in the working game folder to no avail. The impression I've gotten is I only need to prototype the DLL functions and they will just work. SED still recognizes dll_open but the manual says I haven't needed it since A6.

Below is the sample code; the engine complains on startup that I'm calling an empty function. Am I missing something?

Code:
#include <acknex.h>

function registerObjectType(STRING* name, var objectSize);
function registerVariable(STRING* name, var targetObjectType);
function loadConfigData(STRING* name);
function getObjectIndex(STRING* name);
function getDataStructure(var* destination, var type, var index);

function main()
{
	registerObjectType("Test", 4);
}


Last edited by MatAllum; 11/26/13 12:52.