Dec 7, 2012 at 6:49 PM

I tried to enter the code in the project to return the information Duplex and the following error was displayed. How do I get around it?

The runtime has encountered a fatal error. The address of the error was at 0x5c643dd0, on thread 0xe7c. The error code is 0xc0000005. 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.

#Region "Duplex"    Public Overridable ReadOnly Property Duplex() As Integer        Get            Call RefreshJobInfo(JobInfoLevels.JobInfoLevel2, False)            Return ji2.DeviceMode.dmDuplex        End Get    End Property#End Region

#Region "Duplex"
    Public Overridable ReadOnly Property Duplex() As Integer
            Call RefreshJobInfo(JobInfoLevels.JobInfoLevel2, False)
            Return ji2.DeviceMode.dmDuplex
        End Get
    End Property
#End Region

Dec 28, 2012 at 2:13 PM

How do you call this method? how can we reproduce the error?