Home  >  Support  >  Support Forum  >  zserver.lib http_flashspec
Notice! We've recently migrated to using a new forum, we hope you enjoy it. If you are an existing member and this is your first time visiting our new forum, please reset your password to be able to sign in.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

zserver.lib http_flashspec

0 votes
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.
asked Jun 23 in Rabbit Software by developer New to the Community (8 points)

Please log in or register to answer this question.

4 Answers

0 votes
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\tcpip\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
answered Aug 26 by cpigilam Veteran of the Digi Community (496 points)
0 votes
Please let us know if you are seeing these errors when running our standard samples
answered Aug 26 by MargaretK Veteran of the Digi Community (454 points)
0 votes
I worked around it. Thanks.
answered Aug 26 by developer New to the Community (8 points)
0 votes
Thank you for letting us know! :) :)
answered Aug 26 by MargaretK Veteran of the Digi Community (454 points)
Contact a Digi expert and get started today! CONTACT US
...