|
| address space question |
 |
Mon, 23 Oct 2006 13:58:53 GMT |
I need to load an nlm from within a perl script that requires to be loaded
in the OS address space.
# hello.pl: very simple sample perl script
`smdr`;
print "Howdy, world!\n";
SMDR is unresolved because it requires to be loaded in the OS address space.
Changing the load command to
# hello.pl: very simple sample perl script
system "SMDR";
print "Howdy, world!\n";
works, but as discussed here in the past, is not good because the execution
returns immediately.
Any ideas?
Thanks,
Frank Ramke
|
| Post Reply
|
| Re: address space question |
 |
Mon, 23 Oct 2006 16:55:31 GMT |
Hi Frank,
"Frank ramke" <ramke@attglobal.net> wrote in
news:xU3%g.17598$0h7.17070@prv-forum2.provo.novell.com:
> I need to load an nlm from within a perl script that requires to be
> loaded in the OS address space.
>
> # hello.pl: very simple sample perl script
> `smdr`;
> print "Howdy, world!\n";
>
> SMDR is unresolved because it requires to be loaded in the OS address
> space. Changing the load command to
> # hello.pl: very simple sample perl script
> system "SMDR";
> print "Howdy, world!\n";
>
> works, but as discussed here in the past, is not good because the
> execution returns immediately.
> Any ideas?
take a look at this old script:
http://www.gknw.net/nwperl/perlucx/apache.txt
it shows how you can check if a NLM is loaded, and if not then load with
system() and wait until loaded...
I think there's also a Run() or Load() method, but I dont know if that loads
into OS, or also protected - you have to check...
The docu for the UCS/UCX components can be found with the NScript docs:
http://developer.novell.com/documentation/nscript/index.html
and here the Load method:
http://developer.novell.com/documentation/nscript/nsc3_enu/data/hrc3cy8b.html
|
| Post Reply
|
|
|
|
|
|
|
|
|
|