Hi
I'm experiencing an error :
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
In one case the error is intermittent:
In another case it always occurs :
Thanks in advance for your help!
I'm experiencing an error :
"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
In one case the error is intermittent:
Dim oField As PDFFormField = foxReader.GetCurrentForm().AddField("stamp", "text", 0, 10, 10, 200, 30)
oField.Value = $"{Environment.UserName} {DateTimeStamp()}" 'error is thrown here
oField.Value = $"{Environment.UserName} {DateTimeStamp()}" 'error is thrown here
In another case it always occurs :
Dim nCount As Integer = foxReader.GetCurrentForm().GetFieldsCount
Dim oField1 As PDFFormField = foxReader.GetCurrentForm().GetFieldByIndex(nCount - 1)
Dim sName As String = oField1.Name 'error is thrown here
Dim oField1 As PDFFormField = foxReader.GetCurrentForm().GetFieldByIndex(nCount - 1)
Dim sName As String = oField1.Name 'error is thrown here
Thanks in advance for your help!
Comment