linking with libThotEditor.lib in Win2K

Amaya compiled fine in Windows 2K.  Now I am trying to develop an 
application using the library but having problems with linking errors.

I linked the following libraries into the project

    libjpeg.lib
    libpng.lib
    libThotEditor.lib
    LibThotKernel.lib
    libThotTable.lib
    libwww.lib
    printlib.lib
    zlib.lib

and called TtaInitialize() but got the following errors:
 

    libThotEditor.lib(dialogapi.obj) : error LNK2019: unresolved
    external symbol _main referenced in function _WinMain@16
    <mailto:_WinMain@16>
    libThotEditor.lib(appdialogue.obj) : error LNK2001: unresolved
    external symbol _appArgv
    libThotEditor.lib(appdialogue.obj) : error LNK2001: unresolved
    external symbol _appArgc
    libThotEditor.lib(appdialogue.obj) : error LNK2019: unresolved
    external symbol _TteLoadApplications referenced in function
    _TteOpenMainWindow
    libThotEditor.lib(appdialogue.obj) : error LNK2019: unresolved
    external symbol __imp__InitCommonControls@0 referenced in function
    _MakeFrame
    libThotEditor.lib(appli.obj) : error LNK2019: unresolved external
    symbol __imp__CreateStatusWindowA@16 referenced in function
    _WndProc@16 <mailto:_WndProc@16>
    libThotEditor.lib(appli.obj) : error LNK2001: unresolved external
    symbol _ReturnOption
    libThotEditor.lib(appli.obj) : error LNK2001: unresolved external
    symbol _Window_Curs
    libThotEditor.lib(closedoc.obj) : error LNK2019: unresolved external
    symbol _CreateCloseDocDlgWindow referenced in function _AskToConfirm
    libThotEditor.lib(attrmenu.obj) : error LNK2019: unresolved external
    symbol _CreateAttributeDlgWindow referenced in function
    _CallbackAttrMenu
    libThotEditor.lib(attrmenu.obj) : error LNK2019: unresolved external
    symbol _CreateLanguageDlgWindow referenced in function _CallbackAttrMenu

 
 Any help would be very much appreciated.

Leon

Received on Thursday, 30 October 2003 04:06:09 UTC