List of changes in CAPE v0.6 in order: 1. compile it under Windows (MS Visual C++/Visual Studio 6.0) 2. add GUI client with the help of Perl/Tk 3. bind CLIPS/CAPE server with GUI Perl/Tk client via sockets So, List of changes amd remarks in CAPE source code are the following: Compile classini.c in CLIPS then compile the whole project CLIPS. The files strutil.c and .h were added to work with strings (in CLIPS' Router). and PrimitiveDoAndGetOutput to CAPE.exe In order to get result of CLIPS work, I have added: 1) file: CAPEtrace.c 2) sub DoAndGetOutput to CAPE.prl 3) XS function perl_clips_do_command_andgetoutput to bridge-functions.c 4) calls of TraceOn() and Off() in PrimitiveCommand() in CAPETopLevel.c CAPETopLevel.c ----------------------- 1) Line 1481 CAPEdir = "../CAPE/CAPESrc"; 2) change rindex to strrchr eo CAPETopLevel.c ------------------- xsinit.c Line 23 EXTERN_C PerlInterpreter *my_perl; CAPESockets.c ----------------------- 1) Line 73 EXTERN_C PerlInterpreter *my_perl; 2) 145 remark waitpid() 3) change bcopy to strncpy eo CAPESockets.c ------------------- CAPEnoSockets.c -------------------- 1) Add lines 186, 220 STRLEN na; 2) Line 29. Replace include files by #include "dummy_win32.h" #include eo CAPEnoSockets.c ----------------- CAPE.prl --------------------------- 1)Line 711 Source:@LoadPath = ('.'); Result:@LoadPath = ('.','../CAPE/CAPESrc'); 2) Line 686-700 comment while () in sub initialise_after {} eo CAPE.prl ------------------------