Re: Need reviews of HLA Adventure





Frank Kotler wrote:

> > <SNIP DOS XP Professional>
> > C:\...\hlaadv>hla hlaadv.hla
> > Warning in file "hlaadv.hla" at line 7373 [errid:74364/hlaparse.bsn]:
> > try..endtry block without exception handler.
> > Near: << endtry >>
>
> I get a *flock* of these warnings assembling under Linux.
> Doesn't appear to do any harm - the executable is produced,
> and seems to work. It surely isn't "right". I don't know
> what the fix for it is. Apparently, not everyone sees these
> warnings(???).

Unless I've messed up somewhere in HLA, this error means that Paul has
added a try..endtry block without any exception clauses. Scan through
the code searching for "endtry" and see if this is the case. How to fix
this? Well, I'd have to know why the try..endtry was put there in the
first place, but an "anyexception" clause added to the "try..endtry"
box would shut up the compiler. Presumably, of course, the try..endtry
is attempting to catch an error, so one would hope that there is a
reasonable piece of error handling code that could be added to the
anyexception clause.

Do remember, when an exception occurs, there's no guarantees about
register values except ESP and EBP. All the other registers could be
scrambled in the exception handling block ('cause there's no guarantee
about the source of the exception).

>
> Speaking of Wannabee, he's been quiet lately. Hope he's
> okay, and just busy writing assembly language!

I heard he lost his ISP and was having to find another. I wonder if he
got the boot for being so obnoxious? :-)
Cheers,
Randy Hyde

.



Relevant Pages

  • Re: interrupting for overflow and loop termination
    ... > only this int can ever overflow. ... maybe all you need is a sticky overflow bit. ... When a user-level instruction X caused an exception, ... The CAUSE register was set to indicate the reason. ...
    (comp.arch)
  • Re: CReating Short cut to an application on XP SP2
    ... It shows the same exception. ... application run on MC2 you must first register the component on the MC2 ... Install the component on MC2 ...
    (microsoft.public.vsnet.setup)
  • Re: Exception Handling...
    ... At FS:the executing code can register an exception handler by providing ...
    (comp.lang.pascal.delphi.misc)
  • COM object with CLSID {xxxx} is either not valid or not registered....
    ... it runs fine at a client site but now that I have delivered it ... just manually register the DLL's. ... Exception Details: System.Runtime.InteropServices.COMException: COM object ... exception can be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Try Catch Else Finally
    ... My purpose in using try catch is that without it, or some other error handling, if a command throws an exception the program halts with some garbage on the screen. ... I've written my program with try catch around statements like calls to other servers where something like a cable being cut might cause the line to throw and exception as it can not execute. ... (Even if there is a return in the sub than the finally will be done first). ... Or if the different things threw different types of exceptions, you could have multiple catch blocks each catching a different exception type, and have different error handling code execute that way. ...
    (microsoft.public.dotnet.languages.vb)