....
> Also, I would like to point out that the current faliure method of the
> Call Library Module (i.e. crashing LabView) is not acceptable. It
> would be much better if LabView would generate an error message or an
> error log entry in case of a dll failure. I would hope that this
> scenario would be a target goal for future development of LabView. The
> Call Library Module is an incredibly powerful tool in that opens up
> many avenues of development -- it deserves a better way diagnosing
> problems.
>
For performance reasons, the CLF doesn't spawn another process, but
takes place in the LV process. That means that anything that the DLL
function does could affect the LV process.
You don't mention what version of LV you are using, but
LV 6.1 now
defaults to catching exceptions around the DLL call. It doesn't protect
from crashes following the call due to memory corruptions, but it does
catch many that previously crashed due to bad parameters or bad calling
conventions.
Greg McKaskle