problem use ThotKernel API in VC++6.0

dear,all

	I want use "ThotKernel" in my project.
I use VC++6.0 to call the API. the program like the following:

// testamaya.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "application.h"
int main(int argc, char* argv[])
{
	printf("Hello World!\n");
//	TtaInitialize("test amaya");
//	TtaInitializeAppRegistry("test amaya");
	return 0;
}

But, I get the following error message:


--------------------Configuration: testamaya - Win32 Debug--------------------
Compiling...
testamaya.cpp
c:\testamaya\include\interface.h(135) : error C2061: syntax error : identifier 'ThotIcon'
c:\testamaya\include\interface.h(174) : error C2061: syntax error : identifier 'ThotIcon'
c:\testamaya\include\interface.h(277) : error C2146: syntax error : missing ';' before identifier 'TtaGetViewFrame'
c:\testamaya\include\interface.h(277) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

testamaya.exe - 4 error(s), 0 warning(s)

how to correct the error?

help,and thanks! 				

        Zhang Gang
        gangzhang@ict.ac.cn
          2007-01-12

Received on Friday, 12 January 2007 05:05:35 UTC