zserver.lib http_flashspec

DC 9.62 - R3000

I have an app which is using the http server, without any filesystem and without the zserver processor. It only wants to handle responses to http requests using a set of custom cgis.

dcrtcp and http libs are included.

As soon as http_handler() is called, the compile breaks with errors in zserver.lib (included by http.lib) as shown below. If I make zserver definitions (#web, SSPEC, etc.) and use rabbitweb, this all goes away, but so does my available code space (code size triples).

Is there a workaround or define or some other thing that I have to set to get around this? Thanks in advance.

==================================
line 3095 : ERROR ZSERVER.LIB : http_flashspec is out of scope/ not declared.
line 3095 : ERROR ZSERVER.LIB : Not a pointer, cannot dereference.
line 3095 : ERROR ZSERVER.LIB : Cannot subscript object ‘unknown’ of type ‘unsigned int’; an array or pointer is required.
line 3095 : ERROR ZSERVER.LIB : http_flashspec is out of scope/ not declared.
line 3144 : ERROR ZSERVER.LIB : Not a pointer, cannot dereference.
line 3144 : ERROR ZSERVER.LIB : Cannot subscript object ‘unknown’ of type ‘unsigned int’; an array or pointer is required.
line 3144 : ERROR ZSERVER.LIB : http_flashspec is out of scope/ not declared.
line 3144 : ERROR ZSERVER.LIB : http_flashspec is out of scope/ not declared.
line 3145 : ERROR ZSERVER.LIB : Operands and/or operator incompatible.
line 3145 : WARNING ZSERVER.LIB : Returned object incompatible with prototype.
line 3145 : ERROR ZSERVER.LIB : http_flashspec is out of scope/ not declared.

Hello, Under Dynamic C 9.62, there are some sample applications , pls check those samples , based on that you need to implement you r application.
C:\DCRABBIT_9.62\Samples cpip\zserver

Also go through the Dynamic TCP/IP user’s manual at the below links, here mentioned that APIs details and how to implement server applications in DC 9

http://ftp1.digi.com/support/documentation/0190143j.pdf
http://ftp1.digi.com/support/documentation/019-0144_G.pdf

Please let us know if you are seeing these errors when running our standard samples

I worked around it. Thanks.

Thank you for letting us know! :slight_smile: :slight_smile: