HP3000-L Archives

July 2006, Week 4

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:
Mike Hornsby <[log in to unmask]>
Reply To:
Mike Hornsby <[log in to unmask]>
Date:
Fri, 28 Jul 2006 08:53:41 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
Satheesh Kumar wrote:
> Hi 
>
> I'm getting error with CREATEPROCESS intrinsic. The error number is 16.
>
> The manual says that "16 - Process not created; hard load error occurred 
> (for example, I/O error reading formaldesig)".
>
> How ever I could not find out the root cause of this error and make my 
> program work.
>
> Could any one help or give suggestions to rectify this error.
>   
To 'see' the name of the program being passed to CREATEPROCESS one
can use debug to set a breakpoint at the entry to CREATEPROCESS and
display register 24 which holds the address of the PROGRAM parameter.

If you don't need all of the fancy CREATEPROCESS capabilities, I would
simply change the logic to call the COMMAND intrinsic and RUN with it:)

TGIF,

Mike Hornsby
CTO
Beechglen Development Inc.
www.beechglen.com
513-922-0509x31


run myprog;debug
$1 ($8a) nmdebug > b CREATEPROCESS
added: NM    [1] SYS a.0038d874 CREATEPROCESS
$2 ($8a) nmdebug > c            
Break at: NM    [1] SYS a.0038d874 CREATEPROCESS

$3 ($8a) nmdebug > dv r24,10,both
VIRT $263.41646030 $ 4c4f4353 45525650 20202020 20202020  LOCS 
ERVP         
VIRT $263.41646040 $ 20202020 20202020 20200000 244e554c              .. 
$NUL
VIRT $263.41646050 $ 4c0d0000 00000000 00000000 00000003  L... .... .... 
....
VIRT $263.41646060 $ 0000000a 00000000 00000001 00000000  .... .... .... 
....
$4 ($8a) nmdebug > c

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2