🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
2 messages
2 total messages Started by Jay Field Thu, 11 Oct 1990 00:33
Help with HELPINIT!
#1561
Author: Jay Field
Date: Thu, 11 Oct 1990 00:33
21 lines
1292 bytes
I am trying to use Help Manager in IBM OS/2 v 1.2.  When I
try to initialize my HELPINIT structure, I get a warning
about 'different levels of indirection' which seems to be
associated with the 4th parm (pointer to help table).  I
have my coded as MAKELONG (HELP_RESOURCES, 0xFFFF),
HELP_RESOURCES is #define(d) in an included .h file, and
in an .rc script I also have
   HELPTABLE HELP_RESOURCES
    BEGIN ....
    END

When I run this under CodeView and look at the member of the
HELPINIT structure that holds the initialization return code,
it has 8195.  I don't see this return/error code in any of the
documentation I have.  I am using the MS 1.2 toolkit, IBM's
1.2 OS/2, running on a model 80 PS/2.  I would really appreciate
any hints people may have.  Thanks.

Jay Field
BR.JWF@RLG.STANFORD.EDU  (bitnet)
(415) 691-2215
Re: Help with HELPINIT!
#1566
Author: Lawrence W Salomon
Date: Thu, 11 Oct 1990 14:10
12 lines
768 bytes
If I recall correctly, the first hex digit of a return code is the severity
of the error (I assume that the error code you listed was in hex).

   0 - no error
   4 - warning
   8 - error

This is what IBM typically uses, but I can't be sure without consulting the
tech refs.

Cheers,
Q
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads