From:	CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 24-AUG-1990 04:48:39.24
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	Re: HP widget set for VMS

Received:  by crdgw1.ge.com (5.57/GE 1.70)
	 id AA27972; Fri, 24 Aug 90 04:34:30 EDT
Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Thu, 23 AUG 90 13:35:41 PDT
Received: by ucbvax.Berkeley.EDU (5.63/1.42)
	id AA21023; Thu, 23 Aug 90 13:31:21 -0700
Received: from USENET by ucbvax.Berkeley.EDU with netnews
	for info-vax@kl.sri.com (info-vax@kl.sri.com)
	(contact usenet@ucbvax.Berkeley.EDU if you have questions)
Date: 23 Aug 90 20:08:39 GMT
From: agate!agate!jym@ucbvax.Berkeley.EDU  (Jym Dyer)
Organization: Berserkeley
Subject: Re: HP widget set for VMS
Message-Id: <JYM.90Aug23130839@remarque.berkeley.edu>
References: <9008231159.AA17570@ucbvax.Berkeley.EDU>
Sender: info-vax-request@kl.sri.com
To: info-vax@kl.sri.com

.-.
|I|'d also be interested in seeing the port.  I've made the port
`-' myself, and the only changes I had to make were these:

    o In POPUPMGR.C, put this code near the top:

	#ifdef VMS
	#define _XtPopup XtPopup
	#endif

    o In SOURCEDSK.C, replace this code:

	extern void bcopy();

      with this code:

	#ifndef VMS
	extern void bcopy();
	#else
	#define bcopy(from,to,length) \
	 (void) memcpy(to,from,length)
	#define tempnam(path,prefix) \
	 tmpnam(prefix)
	#endif
.-.
|T|he only problems I've had (aside from type mismatch warnings, which
`-' are ignorable) have been with putting the widgets into an object
    library.  I've mentioned this before:  modules that are all data
    don't fare well in the hands of the linker.
    <_Jym_>

