🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.explorer
Article #61

Shared .mres file between modules - Naming problem

#61
From: Jerome Plun
Date: Tue, 28 Jul 1992 02:08
28 lines
1827 bytes
  I am trying to create a set of modules all having the same interface
(control panel, input and output ports), each generating some data set based
on some specified behavior.
  I wrote a variant of the Imakefile/Makefile that mbuilder generates that
creates a new module (say M), install the code in /usr/local/explorer/modules,
and creates M.credits, M.help, M.mres as soft links to 3 files common to all
the modules.
  Unfortunatly, the name of the module seems to be stored in the resource file
and I am unable to load any of my modules.  If I rename one module to the
base name of the 3 common files, I can start the module in explorer.
  I looked at the content of my resource files and found several places where
the module name is stored.  I am willing to create separate instances of the
resource file but want to automate that so that there is no need for the user
to use mbuilder.

  So:
  1) Is there a way to share resources between modules?
  2) If not, what is the structure of a resource file, or what should I
change in it to accommodate the new module name?

  Thanks. Jerome


-- 
Jerome Plun            []  Is it a crime to want something else?
jyp@swarm.wustl.edu    []  Is it a crime to believe in something different?
Washington University  []  
St Louis, MO           []  "Smalltown England", New Model Army, Vengeance
Technical Details
Message-ID: <1992Jul28.020859.23927@wuecl.wustl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!eclnews!swarm.wustl.edu!jyp

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.explorer
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!eclnews!swarm.wustl.edu!jyp
From: jyp@swarm.wustl.edu (Jerome Plun)
Subject: Shared .mres file between modules - Naming problem
Message-ID: <1992Jul28.020859.23927@wuecl.wustl.edu>
Keywords: .mres, share
Sender: usenet@wuecl.wustl.edu (Usenet Administrator)
Nntp-Posting-Host: swarm
Organization: Washington University in St. Louis, MO
Date: Tue, 28 Jul 1992 02:08:59 GMT
Lines: 28