arithmetic overflow issue, how do I turn checking off in a compiledcode module?

  • Thread starter Thread starter Richy
  • Start date Start date
R

Richy

Hi,

I have a script that is compiled like this:

provider = New Microsoft.VisualBasic.VBCodeProvider
compiler = provider.CreateCompiler
_results = compiler.CompileAssemblyFromSource(params,
_code)

but my script fails with arithmetic overflows (it's a Perlin Noise
function). I know how to turn the overflow check on and off within
the .Net environment, but that only applies to the project, not to the
dynamic script that my project compiles.

How do I turn the overflow checking off for my compiled script?

Cheers,

Richy
 
Back
Top