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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top