This project is read-only.
1
Vote

System.OverflowException when using with Framework 4.5 or later

description

When I use this Library in a project that uses the .Net Framework 4.5 or later, I get this Error:

System.OverflowException: Arithmetic operation resulted in an overflow.
Server stack trace:
at JulMar.Atapi.TapiManager.ProcessTapiMessage(LINEMESSAGE msg)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
at JulMar.Atapi.TapiManager.ProcessTapiMessageDelegate.EndInvoke(IAsyncResult result)
at JulMar.Atapi.TapiManager.<>c__DisplayClass12.<ProcessTapiMessages>b__10(IAsyncResult ar)'


When I compile the Same project against FW 4.0 then it works fine.

comments