OnErrorgosub( @Procedure() ) & Procedure(CDLL)

Everything else that doesn't fall into one of the other PB categories.
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

OnErrorgosub( @Procedure() ) & Procedure(CDLL)

Post by freddix »

Hello.

I actually adding error message for my software X-Quad Editor.
I'd like to use a choosen Procedure or ProcedureCDLL if a specified error occur of if an simple error happen.
I'd like to know if I can use OnErrorgosub( @Procedure() ) to call the Procedure ?

Thanks.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

Post by Rings »

@Procedure is a Pointer to a normal StdCall Procedure, else the stack will become in trouble
SPAMINATOR NR.1
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

so I can call a single Procedure.
cool :)
Post Reply