🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.graphics.explorer
2 messages
2 total messages Started by Eric Zundel Ayers Sat, 12 Dec 1992 00:44
Problem building modules
#171
Author: Eric Zundel Ayers
Date: Sat, 12 Dec 1992 00:44
35 lines
1902 bytes
Any help with the following problems greatly appreciated!

First of all, I have tried to subscribe the the explorer mailing list
through explorer-request@castle.ed.ac.uk and have had no response.
Could my request getting lost somewhere?  Could someone from the list
please contact me?

Secondly:
I have had some problems building explorer modules.  

  a) I tried to enter the example module in the User's Guide (3.1.1),
     but my created module seems to crash with the next call to the Explorer
     API after I call cxGeoRoot(); (I discovered this by doing simple
     printf's after each call, so I may be off here.) 

  b) On a module under development, we discovered that we needed to add another
     input port.  We edited the .mres with module builder and added the
     code to call it within our function.  (We are not using the Data
     Wrapper we are using X in a drawing area)  I call cxInputPortOpen
     and I get back an integer (3, the third parameter defined in the
     mbuilder)  But when I call cxInputDataGet, I get a ptr  to 0 and
     then, of course, the call to cxParamStrGet fails.  When I try to
     get its type, cxParmTypeGet returns a -1.  

Thanks again!
Eric.
Eric Z. Ayers
zundel@cc.gatech.edu
Graphics, Visualization, and Usability Center (GVU)
Georgia Institute of Technology, Atlanta, GA 30213 USA
-- 
                                   \\||//
Eric Zundel Ayers                  +----+
Georgia Institute of Technology    |----|         College of Architecture
gt3021b@prism.gatech.edu           +----+    Home of the House of Suicide
Re: Problem building modules
#173
Author: Robert Skinner
Date: Sat, 12 Dec 1992 01:26
33 lines
1773 bytes
In article <78154@hydra.gatech.EDU>, gt3021b@prism.gatech.EDU writes:
> Any help with the following problems greatly appreciated!
> 
> First of all, I have tried to subscribe the the explorer mailing list
> through explorer-request@castle.ed.ac.uk and have had no response.
> Could my request getting lost somewhere?  Could someone from the list
> please contact me?

I think most people are using this newsgroup, hence the silence you hear
so loudly.


>   b) On a module under development, we discovered that we needed to add another
>      input port.  We edited the .mres with module builder and added the
>      code to call it within our function.  (We are not using the Data
>      Wrapper we are using X in a drawing area)  

I'm not sure I follow you here, but

>      I call cxInputPortOpen
>      and I get back an integer (3, the third parameter defined in the
>      mbuilder)  But when I call cxInputDataGet, I get a ptr  to 0 and
>      then, of course, the call to cxParamStrGet fails.  When I try to
>      get its type, cxParmTypeGet returns a -1.  

If it returns a NULL, then no data has been received (and there is no 
type).  I'll make sure that cxParamStrGet is fixed, but if there's no 
data, it will probably return a NULL.

Robert Skinner

	There is intelligent life on Earth, but I'm just visiting.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads