Exceptionless.Net icon indicating copy to clipboard operation
Exceptionless.Net copied to clipboard

Sometimes pinvoke cannot work fine

Open pccai opened this issue 3 years ago • 2 comments

web excepiton logs: LEK$K~)~(QF2KATD${SJ910

image

pccai avatar May 23 '22 10:05 pccai

.net 5.0.407

pccai avatar May 23 '22 10:05 pccai

@pccai looking at this, this is all try caught, are you seeing an unhandled exception? How is this getting logged out? Also, I'd recommend upgrading to .NET 6 as .NET 5 is EOL.

niemyjski avatar May 23 '22 11:05 niemyjski

@pccai did this help?

niemyjski avatar Nov 28 '22 14:11 niemyjski

yes, fixed! When used pinvoke, i missing a statement: hLib = (IntPtr)0; in constructed function. tks.

pccai avatar Apr 12 '23 06:04 pccai