home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5636 < prev    next >
Encoding:
Text File  |  1992-08-16  |  2.9 KB  |  74 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!gatech!hubcap!dpotlur
  3. From: dpotlur@hubcap.clemson.edu (Potluri Dora)
  4. Subject: To Mark, Visual Edge Software ( Mail Bounced )
  5. Message-ID: <1992Aug16.213501.15030@hubcap.clemson.edu>
  6. Keywords: motif
  7. Organization: Clemson University
  8. Date: Sun, 16 Aug 1992 21:35:01 GMT
  9. Lines: 63
  10.  
  11.  
  12. To: mark@vedge.UUCP
  13. Orig-To: mark@vedge.UUCP (Mark Paterson)
  14. Subject: Re: UIM/X Interpreter and prototypes
  15. Newsgroups: comp.windows.x.motif
  16. References: <28613@vedge.UUCP>
  17.  
  18. In comp.windows.x.motif you write:
  19.  
  20. >GUI Users,
  21.  
  22. >To begin with, I work for Visual Edge Software, the company which makes
  23. >UIM/X, so I admit that I am rather biast when it comes to the subject
  24. >of GUI builders. However, recently an article was posted inquiring about
  25. >UIM/X's interpreter and Chris Hare responded to it and stated that UIM/X's
  26. >interpreter was helpful but that it didn't support prototypes yet. This
  27. >however isn't true.
  28.  
  29. >By default, the UIM/X interpreter starts up in K&R mode but it can also
  30. >be used in ANSI mode. You simply have to edit the UIM/X resource file.
  31. >Edit the settings for the Uimx2_0.CFLAGS resource as folows:
  32.  
  33. >    1) add -ansi to the list of flags.
  34.  
  35. >    2) remove -D_NO_PROTO if it is present since there is no
  36. >       use running the interpreter in ansi mode if you don't
  37. >       allow the prootype stuff in the header files through.
  38.  
  39. >The next time you start up UIM/X the interpreter will be in ansi mode.
  40.  
  41.  
  42. >Mark Paterson
  43. hi,
  44.     we have uimx/2.0 running on dec platforms and I have a couple of
  45. questions the way uimx works. 
  46.     In the main interface file I incude my header files and everything
  47. works fine. When I try to add some code or call the functions whose prototypes
  48. are in .h files it will simply blow up and gives whole bunch of errors while I
  49. try to save it.
  50.     It will save it if I declare the function I am calling as extern function 
  51. name. According to normal c standards I do not have to do that. That is the reason
  52. we have the functions in the header file and we include the header file in the 
  53. main application.
  54.     Another major problem I face in day to use is. I have one header file and
  55. it has to be included in all the six interfaces I designed. But It accepts in the
  56. main application shell and after that if I try to include it in the second
  57. interface it give some errors near typedefs in the header file. 
  58.     So these are some of the problems in using uimx and I was looking for
  59. some one to discuss these problems and the way to work around it.
  60.     I typically declare the functions that are in header file and when I 
  61. use them in the callbacks I redeclare them as externs. This is not the 
  62. right way to do it.
  63.     After uimx2.0 generates the .c files we edit the files and add the 
  64. include header files and compile it on the command prompt.
  65.     Are these uimx2.0 problems or I am doing something wrong.
  66. I would appreciate if you can mail me the solution to the above problem.   
  67.  
  68.  
  69. -- 
  70. Potluri Dora
  71. Dept Of Computer Science
  72. Clemson University
  73. Clemson, sc 29631
  74.