Skip to content
Discussion options

You must be logged in to vote

The problem is the string member in the struct. It requires marshalling which is not supported by the source generator (and P/Invoke source generator). You must define them as char* or IntPtr and marshal manually.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@DrkWzrd
Comment options

@huoyaoyuan
Comment options

@DrkWzrd
Comment options

@huoyaoyuan
Comment options

Answer selected by DrkWzrd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants