problem use ThotKernel API in VC++6.0

"Zhang Gang" <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Message-ID <[email protected]>
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
        [email protected]
          2007-01-12
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.