mrexodia Posted December 23, 2016 Posted December 23, 2016 Don't compile with VS2015, only VS2010 is supported.
tonyweb Posted January 8, 2017 Posted January 8, 2017 (edited) Hi, I already took the time (and the headaches) to do such a compilation. Here's my "tweaked" project. It's not clean nor glitches-free, but it compiles Anyone is welcome to adjust it to make it more tidy and/or useful. The project defaults to static lib compilation. You might have to tweak the "client" project too to use the compiled library (because of some linker flags I chose). Hope it's useful. Best Regards, Tony TitanEngineUpdate.vs2015.rar Credits to ReversingLabs, Mr.eXoDia et al. Edited January 8, 2017 by tonyweb 4
tonyweb Posted January 11, 2017 Posted January 11, 2017 (edited) (new post just to enable notifications for who downloaded it already) Just tried on another installation and you might need to follow this advice if you have error rc1015 for afxres.h: http://stackoverflow.com/questions/35436654/cant-open-resource-file-in-vs-2015-cant-open-include-file-afxres-h#38785446 and modify TitanEngine.rc as follows: ///////////////////////////////////////////////////////////////////////////// // // Generated from the TEXTINCLUDE 2 resource. // //#include "afxres.h" #define IDC_STATIC -1 #include "WinResrc.h" or, maybe, you can follow this advice http://stackoverflow.com/questions/3566018/cannot-open-include-file-afxres-h-in-vc2010-express#25809810 and create your own afxres.h #pragma once #ifndef _AFXRES_H #define _AFXRES_H #if __GNUC__ >= 3 #pragma GCC system_header #endif #ifdef __cplusplus extern "C" { #endif #ifndef _WINDOWS_H #include <windows.h> #endif /* IDC_STATIC is documented in winuser.h, but not defined. */ #ifndef IDC_STATIC #define IDC_STATIC (-1) #endif #ifdef __cplusplus } #endif #endif Regards, Tony Edited January 11, 2017 by tonyweb code highlight 2
mrexodia Posted January 11, 2017 Posted January 11, 2017 6 hours ago, tonyweb said: Just tried on another installation and you might need to follow this advice if you have error rc1015 for afxres.h: Just use the visual studio installer to get MFC that should do the trick... 2
Perplex Posted January 14, 2017 Author Posted January 14, 2017 @tonyweb Are you have TitanEngine sample with VS2015? I can't import static lib error in my side (Error LNK2019 unresolved external symbol __imp__AddNewSection referenced in function _main)
tonyweb Posted January 14, 2017 Posted January 14, 2017 (edited) @Perplex Well, this goes a bit beyond the scope of your initial question. Anyway, I had some free minutes and prepared a really basic Win32 project to start with. Here it is. TitanUpdate.Test.rar Again, this is not a perfect configuration, but it should compile fine at your end too. Regards, Tony Edited January 14, 2017 by tonyweb 1
mrexodia Posted January 25, 2017 Posted January 25, 2017 On 1/14/2017 at 1:36 PM, Perplex said: @tonyweb Are you have TitanEngine sample with VS2015? I can't import static lib error in my side (Error LNK2019 unresolved external symbol __imp__AddNewSection referenced in function _main) Just change TITCALL and remove __declspec(dllimport) from it. 1
Accede Posted March 7, 2017 Posted March 7, 2017 Sorry to bump up this old tread but how the hell used vs 10 on windows 10 this days and the lib is not compiled correctly with vs 2015 only the x64 lib but not the x86 lib because Cr0NpxState; dosent exit on vs2015. Its are orther name on vs 2015
mrexodia Posted March 7, 2017 Posted March 7, 2017 (edited) 8 hours ago, accede said: Sorry to bump up this old tread but how the hell used vs 10 on windows 10 this days and the lib is not compiled correctly with vs 2015 only the x64 lib but not the x86 lib because Cr0NpxState; dosent exit on vs2015. Its are orther name on vs 2015 Deal with it. The generated lib files work perfectly fine with VS2017 as long as you link dynamically. If you link statically you are most likely violating the LGPL anyway so don't bother. Edited March 7, 2017 by mrexodia 1
Accede Posted March 16, 2017 Posted March 16, 2017 It works with 2017 your right @mrexodia as i say above the name Cr0NpxState is changed to Spare0 if your change that i dont get LGPL on the dll. I can compile bot dll's for x86,x64 but it gets me scylla erros on the dlls and on the lib if i us the samble for unpacking.
mrexodia Posted March 17, 2017 Posted March 17, 2017 You don't have to compile with VS2017 to use TitanEngine in VS2017 is what I meant. Just get the latest version from x64dbg and link to the .lib with whatever version of Visual Studio you like. 1
Accede Posted March 18, 2017 Posted March 18, 2017 ther is no lib on x64dbg package but i mange to get working libs finally.
Accede Posted March 19, 2017 Posted March 19, 2017 I found it but this lib files dont work for me my compiled dll/lib files works for me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now