[comp.windows.interviews] 3.0 RPC example - question on enter-scope.h

manoj@hpldsla.sid.hp.com (Manoj Joshi) (04/30/91)

Hi InterViews users,

QUESTION ON enter-scope.h etc
=============================

This is probably answered before. 

I am trying to compile the rpc examples written by John I. using 
a makefile generated by mkmf (as opposed to imake). I get the
following error:

CC: "reader.c", line 169: error 1261: bad argument list for dpRpcService::dpRpcS
ervice() (no match against any  dpRpcService::dpRpcService())

Any idea what options I need to set to make it recognizable to the 
compiler?

Manoj.

interran@lurch.Stanford.EDU (John Interrante) (05/03/91)

In article <30550001@hpldsla.sid.hp.com> manoj@hpldsla.sid.hp.com
(Manoj Joshi) writes:

   CC: "reader.c", line 169: error 1261: 
    bad argument list for dpRpcService::dpRpcService() 
    (no match against any dpRpcService::dpRpcService())

rpctest.tar.Z requires InterViews 3.0-beta, and you apparently have
InterViews 3.0-alpha.  You should get ~ftp/pub/3.0-beta.tar.Z + fixes
from interviews.stanford.edu.

We simplified RpcService and some other Rpc classes by replacing the
three parameters "const char* dir," "const char* name", and "int
version" in some member functions with the single parameter "const
char* path."  The only purpose of these three arguments was to
construct a pathname, so we decided to let programmers pick their own
pathnames.  (RpcService uses the pathname to record the program's TCP
port number and hostname in a file, presumably stored on a NFS
filesystem, so that another program can read the file and use its data
to open a connection to the first program.)
--
John Interrante / interran@lurch.stanford.edu