i have question for call my dll`s function
C++
i build it and put to "3dgs7\acknex_plugins\sample.dll"
---------------------------------------------------------------
---------------------------------------------------------------
# pragma warning (disable:4312)
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <math.h.>
#define DLL_USE
#include "adll.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved )
{
engine_bind();
return TRUE;
}
DLLFUNC var my_square(var x)
{
return ( _VAR( _FLOAT(x) * _FLOAT(x) + 1 ));
}
-------------------------------------------------------------------------
-------------------------------------------------------------------------
lite-C: sampledll.c by Script Editor

// lite-C header for sampledll.dll

function my_square(x);
#include <acknex.h>
#include <default.c>
STRING* str_msg = "sampledll.c";
TEXT* txt_1 =
{
pos_y=10;
string(str_msg);
flags = SHOW;
}
void main()
{
str_for_num(str_msg,my_square(3));
}
-------------------------------------------------------------------------
-------------------------------------------------------------------------


and then i run sampledll.c ,but i get a error file!
(ackerr.txt)
----------------------------------------------------------
Error in 'MAIN' line 3: 'function' undeclared identifier
<function my_square(x);>
----------------------------------------------------------

help me ! guys


development 3d game is interesting!