I'm trying to recompile the WPS DLL of CmdHere_1-12b402.zip with IBM VAC 3.08 and theTK 4.52, just to see if it's not that hard to translate the WPS UI's "OS/2 windowed" to, let's say, the usual "eCS-opdrachtaanwijzing (Venster)". After editing a few paths in CMDHERE.MAK, this is the output of NMAKE CMDHERE.MAK:
Operating System/2 Program Maintenance Utility
Version 4.00.001 Oct 4 2001
Copyright (C) IBM Corporation 1988-2001
Copyright (C) Microsoft Corp. 1988-1991
All rights reserved.
" Compile::SOM Compiler "
sc.exe -p -S65536 -C65536 -mnoint CMDHERE.IDL
" Compile::C++ Compiler "
icc.exe /Ss /Gm /Ge- /Ms /C C:\cmdhere\WPSDLL\CMDHERE.c
IBM VisualAge C++ for OS/2, Version 3
(C) Copyright IBM Corp. 1991, 1995.
- Licensed Materials - Program Property of IBM - All Rights Reserved.
C:\cmdhere\WPSDLL\cmdhere.ih(59:1) : warning EDC0523: Obsolete #pragma
checkout ignored. Use #pragma info or the /W options.
E:\IBMCPP\som\include\somobj.h(249:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(277:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(304:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(330:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(356:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(381:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(406:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(431:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(456:17) : error EDC0046: Syntax error.
E:\IBMCPP\som\include\somobj.h(481:17) : error EDC0046: Syntax error.
NMAKE : fatal error U1077: 'C:\OS2\CMD.EXE' : return code '12'
Stop.
I've read an old article about %INCLUDE%, but I've only got one copy of SOMOBJ.H:
30-06-99 19:15 43.815 0 a--- somobj.h
Lines 245-250 of SPMOBJ.H (syntax error @ line #249):
/*
* New Method: somDefaultInit
*/
typedef void SOMLINK somTP_SOMObject_somDefaultInit(SOMObject *somSelf,
som3InitCtrl* ctrl);
#pragma linkage(somTP_SOMObject_somDefaultInit, system)
What's required to get rid of those syntax errors?