I would like to call some native methods from c#, but writing Dllimports is quite tedious. I am wondering any tool which can assist?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You have http://pinvoke.net, a wiki website dedicated to writing these; though the are for more common functions that are usually a part of Win32.
There is a tool called the PInvoke Interop Assistant. This is capable of creating P/Invoke calls from C source. Very useful if you have the source code. Unfortunately, it doesn’t look like there has been a lot of development on it recently, but still an excellent (free) tool.