Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dotNet binding doesn't work #1999

Open
gmgunderground opened this issue Sep 13, 2024 · 1 comment
Open

dotNet binding doesn't work #1999

gmgunderground opened this issue Sep 13, 2024 · 1 comment

Comments

@gmgunderground
Copy link

I cant understand the problem, but are two days that I try do run in debug mode the simple example of dotNet binding without success.
Every call to native methods generates exception. I'm using Visual Studio 2022, unicorndll is compiled from dev branch using the visual studio promt. No errors during dll generation.
The exception is the following
Your app has entered a break state, but no code is currently executing that is supported by the selected debug engine (e.g. only native runtime code is executing).

An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in Unknown Module.
External component has thrown an exception.

Can someone confirm? Any suggestion for the resolution?

@wtdcode
Copy link
Member

wtdcode commented Sep 21, 2024

That's weird. I once tested it works. I don't have a dotnet environment at this moment, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants