01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CGI Application Developers Note - <strong>SC12</strong> <strong>@CHIP</strong>-<strong>RTOS</strong> <strong>V1.10</strong><br />

<strong>IPC<strong>@CHIP</strong></strong> <strong>Documentation</strong> Index CGI News<br />

Developer Notes<br />

Since <strong>@CHIP</strong>-<strong>RTOS</strong> version 0.65, we added five new content types for CGI.<br />

Since <strong>@CHIP</strong>-<strong>RTOS</strong> version 0.65, it is possible to write CGI procedures with Turbo Pascal. Consequently the<br />

parameter passing mechanism for CGI functions has been changed to that used by Pascal. C programmers will<br />

now need to use the following forms of CGI functions.<br />

A CGI function using the Borland C compilers must be declared as follows:<br />

void huge _pascal CGI_Func(rpCgi far *CgiRequest);<br />

... and using the Microsoft Visual C compilers:<br />

void far _saveregs _loadds _pascal<br />

CGI_Func(rpCgi far *CgiRequest);<br />

CGI API Listing<br />

End of document<br />

Page 374 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!