Minor change.
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Jun 1998 15:27:59 +0000 (15:27 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 12 Jun 1998 15:27:59 +0000 (15:27 +0000)
index/apitest.c
zebra.dsw

index d9cef32..7af42a5 100644 (file)
@@ -98,7 +98,7 @@ int main (int argc, char **argv)
 {
     /* odr is a handle to memory assocated with RETURNED data from
        various functions */
 {
     /* odr is a handle to memory assocated with RETURNED data from
        various functions */
-    ODR odr = odr_createmem (ODR_ENCODE);    
+    ODR odr;
     
     /* zh is our Zebra Handle - describes the server as a whole */
     ZebraHandle zh;
     
     /* zh is our Zebra Handle - describes the server as a whole */
     ZebraHandle zh;
@@ -107,7 +107,11 @@ int main (int argc, char **argv)
     char *base = "Default";
     int argno;
 
     char *base = "Default";
     int argno;
 
-    /* open Zebra */
+    nmem_init ();
+
+    odr = odr_createmem (ODR_ENCODE);    
+    
+   /* open Zebra */
     zh = zebra_open ("zebra.cfg");
     if (!zh)
     {
     zh = zebra_open ("zebra.cfg");
     if (!zh)
     {
index a32768f..fe02fba 100644 (file)
--- a/zebra.dsw
+++ b/zebra.dsw
@@ -3,6 +3,18 @@ Microsoft Developer Studio Workspace File, Format Version 5.00
 
 ###############################################################################
 
 
 ###############################################################################
 
+Project: "apitest"=.\apitest\apitest.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
 Project: "zebra"=.\zebra.dsp - Package Owner=<4>
 
 Package=<5>
 Project: "zebra"=.\zebra.dsp - Package Owner=<4>
 
 Package=<5>