so one of the things i've tested is compiling the latest eMule
first of all, eMule 0.50a does compile though it requires some changes:
1. the class CMemDC should be renamed to be compatible with VS2010
(MS added a class named CMemDC in latest MFC)
2. _MSC_VER is set to 1600, _MFC_VER is set to 0x0A00 so
emule_site_config.h and __AfxSocketTerm() should reference them respectively
(btw, some files like qedit.h iirc are not included, but VS2010 uses latest SDK)
3. for some reason, the included libs (id3lib, CxImage & miniupnplib) require to be compiled
with MFC staticly linked (at least this is how it worked for me... not sure why
also, crypto++ (v5.6) requires replacing one NULL to nullptr
4. in emule's project properties you need to add MSVCRT.lib to linker > input > ignore specific library
(at least this is how it worked for me...)
this is based on converting the vc8 project files to VS2010 (since i use VS2005 in my usual dev. env.)
if the devs are interested, i can cleanup some stuff and send you the project files as there are changes to the format
btw, a quick review on VS2010 for those who want to know (my opinion, at least):
bloatware cannot desctibe it, so much stuff was added to my add/remove program, god knows why... most of them are required for VS to properly work.
there are some useful changes to C++ (didn't get to see/check them all) but still no Refactoring like in C#.
the most annoying thing of all was the tray popup each time i opened VS that asked me to help improve VS (as if once is not enough)
Regards,
Avi3k
This post has been edited by Avi-3k: 07 May 2010 - 09:05 PM










Sign In
Register





