Compile LibThotEditor un der WIndows 95

Hi  Ramzi,
I tried to compile the library LibTHotEditor under Windows 95 and I remark
that there is a lot
of warnings especially undefined functions. For example, 

dialogapi.c
C:\users\Thotlib\Dialogue\dialogapi.c(478) : warning C4090: 'initializing'
: different 'const' qualifiers
C:\users\Thotlib\Dialogue\dialogapi.c(937) : warning C4013: 'main'
undefined; assuming extern returning int
C:\users\Thotlib\Dialogue\dialogapi.c(3057) : warning C4047: 'function' :
'const char *' differs in levels of indirection from 'char (*)[200]'
C:\users\Thotlib\Dialogue\dialogapi.c(3057) : warning C4024: 'AppendMenuA'
: different types for formal and actual parameter 4
C:\users\Thotlib\Dialogue\dialogapi.c(3162) : warning C4047: 'function' :
'unsigned int ' differs in levels of indirection from 'void *'
C:\users\Thotlib\Dialogue\dialogapi.c(3162) : warning C4024:
'EnableMenuItem' : different types for formal and actual parameter 2
C:\users\Thotlib\Dialogue\dialogapi.c(3217) : warning C4047: 'function' :
'unsigned int ' differs in levels of indirection from 'void *'

C:\users\Thotlib\View\windowdisplay.c(201) : warning C4013:
'WIN_GetDeviceContext' undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(208) : warning C4013:
'WIN_ReleaseDeviceContext' undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(291) : warning C4013: 'WinLoadGC'
undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(293) : warning C4013: 'WinLoadFont'
undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(295) : warning C4013: 'WinUnloadGC'
undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(1467) : warning C4013: 'WinErrorBox'
undefined; assuming extern returning int
C:\users\Thotlib\View\windowdisplay.c(1724) : warning C4101: 'pat' :
unreferenced local variable


I would like you help me to solve these problems.

Best regards

Received on Friday, 6 February 1998 05:02:49 UTC