Hi, I'm trying to learn how to make a dll file for mirc, but i need some help. I was trying to create the .dll using Dev-cpp and I think I need to make a .def file to export my functions because when i try to use the .dll with the /dll command on mirc it says it can't find the funciton. Is there a way to make a .def file using Dev-cpp or exporting these functions by any other way?
I am an expert mirc scripter and I understand a good bit of C/C++ so that you know how to answer me.
If you're talking about Dev-C++ the freeware IDE, you're actually using MingW to compile, not Dev-C++.. the compiler is more important than the IDE you're on
in MingW you'd use __declspec(dllexport) to export a DLL symbol without a .def file