The reason why it should be empty is because I need to write it in C:
https://stackoverflow.com/questions/951516/what-good-ides-are-availble-for-c/951582#951582
But how to write a dll from scratch?
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.
Windows DLL are written using this skeleton
#include <windows.h> BOOL WINAPI DllMain( __in HINSTANCE hinstDLL, __in DWORD fdwReason, __in LPVOID lpvReserved ){ switch(fdwReason){ case DLL_PROCESS_ATTACH: break; case DLL_PROCESS_DETACH: break; case DLL_THREAD_ATTACH: break; case DLL_THREAD_DETACH: break; } return 0; }See here on the MSDN for this and an example of it here. Here is a tutorial on creating a DLL. A more in-depth tutorial can be found here.
Hope this helps,
Best regards,
Tom.