# zserver.lib http\_flashspec

**URL:** <https://forums.digi.com/t/zserver-lib-http-flashspec/13189>\
**Category:** Rabbit Software\
**Tags:** http\_handler, dc9, zserver, rabbit, 62\
**Created:** [June 23, 2014, 8:43am UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189 "2014-06-23T08:43:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://forums.digi.com/u/developer)\
**Post date:** [June 23, 2014, 8:43am UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189/1 "2014-06-23T08:43:21Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![cpigilam](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@cpigilam](https://forums.digi.com/u/cpigilam)\
**Post date:** [August 26, 2014, 7:53am UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189/2 "2014-08-26T07:53:58Z")

</div>

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/0190143j.pdf)  
[http://ftp1.digi.com/support/documentation/019-0144\_G.pdf](http://ftp1.digi.com/support/documentation/019-0144_G.pdf)

---

<div class="post-metadata">

**Author:** ![MargaretK](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MargaretK](https://forums.digi.com/u/MargaretK)\
**Post date:** [August 26, 2014, 11:56am UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189/3 "2014-08-26T11:56:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://forums.digi.com/u/developer)\
**Post date:** [August 26, 2014, 12:47pm UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189/4 "2014-08-26T12:47:55Z")

</div>

I worked around it. Thanks.

---

<div class="post-metadata">

**Author:** ![MargaretK](https://avatars.discourse-cdn.com/v4/letter/m/d9b06d/32.png) [@MargaretK](https://forums.digi.com/u/MargaretK)\
**Post date:** [August 26, 2014, 1:43pm UTC](https://forums.digi.com/t/zserver-lib-http-flashspec/13189/5 "2014-08-26T13:43:34Z")

</div>

Thank you for letting us know! 🙂🙂
