Skip to content
Discussion options

You must be logged in to vote

VS2019 is 32bit and VS2022 is 64bit. This should be the main difference.

The signature of 4th argument is LPVOID lpData. Using object in P/Invoke signature means the OLE VARIANT type. You should use IntPtr instead.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@RFBomb
Comment options

@huoyaoyuan
Comment options

@RFBomb
Comment options

@huoyaoyuan
Comment options

@RFBomb
Comment options

Answer selected by RFBomb
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