[Solved] DLL Exit Code - VisualCron - Forum

Community forum

norb
  •  norb
  • No customer Topic Starter
2012-09-06T14:44:37Z
in the unmanaged dll task the exit code is from the process that calls the dll, not the dll itself. Please have the process retrieve the dll exit code and pass it through as the exit code of the process so that it can be used in the failure notifications.
Support
2012-09-06T14:50:07Z
But dlls in themselves have no exit codes as they do not belong to any process. Only a process can have an exit code. And in this case the exit code is returned by the host process of the dll which is as it should be.

You need to call similar Environment.Exit in your code or throw an error that the host process catches.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top