C#C
C#3y ago
ericc

❔ wpf app crashing when trying to run managed c++ code inside a dll

so, in visual studio i have two projects

the first is a WPF (c#) app

the second is a c++ dynamic library configured to support .net framework (/clr)

as far as i know both are compiling to .net framework 7

my wpf app runs fine until it calls any code from the dll, in which case it crashes without any errors.

both are configured on debug and x64
image.png
image.png
image.png
image.png
Was this page helpful?