# FinalBuilder exits when calling a custom action

**URL:** https://www.finalbuilder.com/forums/t/finalbuilder-exits-when-calling-a-custom-action/2663
**Category:** Bugs
**Created:** [August 18, 2006, 3:02am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-exits-when-calling-a-custom-action/2663 "2006-08-18T03:02:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [August 18, 2006, 3:02am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-exits-when-calling-a-custom-action/2663/1 "2006-08-18T03:02:04Z")

</div>

Hi,

we are trying to use a custom action to work on an XML document and then XSL transform it.  
The Action is a .NET one written in c# on VS2005. When the action is executed and System.Xml.Xsl.XslCompiledTransform's Load-method is called FinalBuilder Terminates.  
Even during debugging FinalBuilder exits. The last output during debug is:"The program '[2760] FinalBuilder4.exe: Managed' has exited with code -1073741819 (0xc0000005).".

Investigating this i found articles describing a problem of floating point operations of MS-code-based XslCompiledTransform when called from Borland/VCL based applications.  
I guess FB is written in Delphi. We had similar problems in our software that was mixing Delph and MS/C++ modules. It just terminated.  
The issue seems to be wether floating point exceptions should be masked or not. Borland doesn't.

[http://www.virtualdub.org/blog/pivot/entry.php?id=53](http://www.virtualdub.org/blog/pivot/entry.php?id=53)  
[http://homepages.borland.com/ccalvert/TechPapers/FloatingPoint.html](http://homepages.borland.com/ccalvert/TechPapers/FloatingPoint.html)

Could you please check if this might cause the Problem we currently have with the custom action?   
The Borland link proposes a change that would need to be applied in the calling application. Would that be an option to add to FinalBuilder?

Thanks,  
Stefan

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [August 21, 2006, 4:04am UTC](https://www.finalbuilder.com/forums/t/finalbuilder-exits-when-calling-a-custom-action/2663/2 "2006-08-21T04:04:24Z")

</div>

Hi Stefan,  
  
Could you please send us your custom action so we can reproduce the problem here and handle it correctly. Please send to support at finalbuilder dot com  
  
thanks,  
tate.
