mIRC Home    About    Download    Register    News    Help

Print Thread
#235152 25/11/11 12:20 PM
Joined: Nov 2011
Posts: 1
V
Mostly harmless
OP Offline
Mostly harmless
V
Joined: Nov 2011
Posts: 1
I had this program that I wrote awhile back in VC6 using C that converted text to morse code. I have since converted the project using VS2010 and rewrote most of it in C++.

However, since I converted the project to C++, the compiled DLL no longer works. I added a .dep file, and checked the DLL using Dependency Walker. I cannot figure out why it no longer works with mIRC. My own console program can import the DLL fine.

https://github.com/leonyu/mircMorse.cpp

Last edited by voidvector; 25/11/11 12:20 PM.
Joined: Mar 2014
Posts: 8
A
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
A
Joined: Mar 2014
Posts: 8
Use extern "C" __declspec(dllexport) WINAPI before your function's return value.
Then compile with these options: -Wl,--kill-at


Link Copied to Clipboard