We are working on a Point of Sale, We are integrating Avery berkel fx120 scale to our POS. The test app that comes with Microsoft Point of Service for .NET v1.14 (POS for .NET) is working fine with the scale, but the sample code that comes with is not working with Avery berkel fx120 scale. When we try to open scale on scale.opn() it throughs some clr exception. I am using visual studio 2019 community (c#) on windows 10. Have any body any idea in this environment or can give a sample code only for the Avery berkel fx120 scale.
When I try to See the details for the exception it gives me the following :
Managed Debugging Assistant 'FatalExecutionEngineError'
Message=Managed Debugging Assistant 'FatalExecutionEngineError' : 'The runtime has encountered a fatal error. The address of the error was at 0x0920c0f6, on thread 0x36e4. The error code is 0x80131623. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.'
