![]() ![]() For example, you can log a stack back trace in this handler.Ĭustom handlers must be public and defined in one of the main units specified when calling pas2jni.Ĭoding tips Setting handlers (method pointers) in a Java code. It is called when an unhandled Pascal exception occurs. Readln(filehandle, var) and Writeln(filehandle, var) are for text files. ![]() It is possible to define the following custom handlers in your Pascal code. Use the -D switch to specify correct ppudump if it is not in PATH. Note: You need to use ppudump of the same version as the FPC compiler. Interface to each Pascal unit is placed to a separate Java public class.
0 Comments
Leave a Reply. |