If there’s a dll written on C, then how is it possible to use it in .net(C#)?
Is it strictly necessary to write a header file for it in order to data types be compatible between two languages?
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 already know about P/invoke from your previous question. Regarding the header file, it’s not used for managed interop. Instead the P/invoke declarations specify the function parameters, calling conventions etc.