cancel
Showing results for 
Search instead for 
Did you mean: 

Blue prism closing abruptly.

NaveenRPA
Level 4
Hi,

i am using unmanaged dll(which is written in c++ language) in code stage, when i call a example method from unmanaged dll and if any exception throws from unmanaged dll blue prism closing abruptly even though handled exception in code stage how can i over come this.
I have downloaded Unmanaged dll from internet I can't handle exception in dll i need to handle in blue prism code stage only.

------------------------------
Thanks and Regards,
Naveen.

------------------------------
3 REPLIES 3

PabloSarabia
Level 11
Hi @naveen k

Do you have any error in your business object? It's load correctly the library and the namespaces?

If this part is correct, you can use a simple "try catch" statement to see any error

The statement looks like this:

try
{
// your code calling the dll functions
}
catch (Exception ex)
{
errormessage = ex.Message;
}


ex.Message tells you the exception message

​​Hope this helps you.


See you in the community, bye 🙂

------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
634726270
------------------------------

Hi Pablo Sarabia,

i am already calling method inside try catch block only.

------------------------------
naveen k
------------------------------

It may help to check the Windows event logs to see what if there is any error message related of the crash

------------------------------
John Carter
Professional Services
Blue Prism
------------------------------