Hi,
I wish to trap operating systems signals in my CVI application. I know how to trap signals on UNIX or Linux. I know windows also generate signals such as SIGSEGV. ANSCI C provides a function signal in signal.h for handling signals. I tried using it. I could compile my code successfully. However, the signal handler was not called when signal was generated. I know SIGSEGV is not generated in windows NT. I tried it on XP as well. I could not trap the signal. However, when I exclusively raised the signal using function called raise, I could trap it. But I could not trap signals generated by operating system.
Is anybody of you has trapped siganls in CVI on windows?
Basically, I want to avoid abrupt program termination ocuuring from segmentation fault o
r memory allocation problem. Does anybody know about it?
Niranjan