There is a CL test program. It has only one command - delete a specific file in a specific library. This program is launched from a C program. When the above file is there, everything goes well: the C program runs the CL program and it deletes the file. However, if the file does not exist, then at startup, for example, from interactive mode, the Display Program Messages window appears and the program waits for my response.
I tried in a C program to wrap the launch of a CL program in #pragma exception_handler, but this only led to the fact that I was able to handle the exception when the file was missing. I expected not to receive Display Program Messages, however this did not happen.
Tell me, is it possible to make it so that when executing a CL program, if an exception occurs that is not monitored, the exception handler in the C program is called immediately?
I tried in a C program to wrap the launch of a CL program in #pragma exception_handler, but this only led to the fact that I was able to handle the exception when the file was missing. I expected not to receive Display Program Messages, however this did not happen.
Tell me, is it possible to make it so that when executing a CL program, if an exception occurs that is not monitored, the exception handler in the C program is called immediately?
Comment