CGI Application Developers Note - SC12 @CHIP-RTOS V1.10IPC@CHIP Documentation Index CGI News Developer NotesSince @CHIP-RTOS version 0.65, we added five new content types for CGI.Since @CHIP-RTOS version 0.65, it is possible to write CGI procedures with Turbo Pascal. Consequently the parameter passing mechanism for CGI functions has been changed to that used by Pascal. C programmers will now need to use the following forms of CGI functions. A CGI function using the Borland C compilers must be declared as follows: void huge _pascal CGI_Func(rpCgi far *CgiRequest); ... and using the Microsoft Visual C compilers: void far _saveregs _loadds _pascal CGI_Func(rpCgi far *CgiRequest);
End of document |