HP3000-L Archives

June 1995, Week 5

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Dan Hollis <[log in to unmask]>
Reply To:
Dan Hollis <[log in to unmask]>
Date:
Wed, 28 Jun 1995 13:27:00 PDT
Content-Type:
text/plain
Parts/Attachments:
text/plain (28 lines)
Howdy all SPL/MPE gurus!
 
Question:
 
Is it possible to put intrinsic calls in an SL that are not resolved until
they are actually called? I know about LoadProc and UnloadProc, but this
seems to be a big hack, twiddling with the stack and doing inline assembler.
The possibilities of stack corruption are pretty good unless the code is
absolutely perfect. Option variable intrinsics just complicate things further.
 
The reason I'm doing this is that we have an SL with calls to NetIPC
intrinsics. This is a generic SL which goes to several clients, but some of
them do not have NetIPC. I want to avoid making dummy SL's with empty IPC or
empty SL routines, because that complicates the client software maintenance.
 
I would like a generic SL that works with all our customers, but that avoids
use of LoadProc and UnloadProc.
 
Is it possible?
 
By the way, the code is SPL.
 
-Dan
.----------------------------------------------.
|Dan Hollis -- Pharmacy Computer Services, Inc.|
[log in to unmask]      -     (503)476-3139|
`----------------------------------------------'

ATOM RSS1 RSS2