eressea Posted October 2, 2017 Author Posted October 2, 2017 Use Visual Studio 2005 and solution for Visual Studio 2005, not 2015. The 2015 variant isn't really easy to use. Quote
lordeze Posted October 2, 2017 Posted October 2, 2017 (edited) 9 hours ago, eressea said: Utilizar Visual Studio 2005 y la solución de Visual Studio 2005, no 2015. La variante 2015 no es muy fácil de usar. Disculpa mi inisistencia y mi falta de conocimientos pero esto empezando en VB y gracias por tu ayuda y rapidas respuestas. ESTE ES EL ERROR EN VB2005: el proyecto consta en su totalidad de configuraciones que necesitan soporte para plataforma que no estan instalafas en este equipo . el proyecto no se puede cargar. Edited October 2, 2017 by lordeze Quote
eressea Posted October 2, 2017 Author Posted October 2, 2017 (edited) 2 minutes ago, lordeze said: Disculpa mi inisistencia y mi falta de conocimientos pero esto empezando en VB y gracias por tu ayuda y rapidas respuestas. ESTE ES EL ERROR EN VB2005: el proyecto consta en su totalidad de configuraciones que necesitan soporte para plataforma que no estan instalafas en este equipo . el proyecto no se puede cargar. You need Visual Studio 2015 2005 with 64bit support and Service Pack 1 Edited October 2, 2017 by eressea Quote
lordeze Posted October 2, 2017 Posted October 2, 2017 thanks again already almost jajaj but now I have compilation error. thanks for all the help. Generation log Compilation Version: Project started: MyExt64, Configuration: Release | x64 Command lines Creating temporary file "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000007198015996.rsp" with content [ / O2 / I "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \\" / D "_WINDLL" / D "_UNICODE" / D "UNICODE" / FD / EHsc / MT / Fo "x64 \ Release \\" /Fd"x64\Release\vc80.pdb "/ c / TP". \ Server \ L2SkillFunc.cpp " ". \ Server \ CSkillOperateCondition_op_check_abnormal.cpp" ". \ Server \ CSkillEffect_t_hp.cpp" ] Creating command line "cl.exe @" d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000007198015996.rsp "/ nologo / errorReport: prompt" Creating temporary file "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000008198015996.rsp" with content [ / O2 / I "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \\" / D "_WINDLL" / D "_UNICODE" / D "UNICODE" / FD / EHsc / MT / Fo "x64 \ Release \ CNPC1.obj" /Fd"x64\Release\vc80.pdb "/ c / TP". \ NPCd \ CNPC.cpp " ] Creating command line "cl.exe @" d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000008198015996.rsp "/ nologo / errorReport: prompt" Creating temporary file "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000009198015996.rsp" with content [ / O2 / I "d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \\" / D "_WINDLL" / D "_UNICODE" / D "UNICODE" / FD / EHsc / MT / Fo "x64 \ Release \ CCreature1.obj" /Fd"x64\Release\vc80.pdb "/ c / TP". \ NPCd \ CCreature.cpp " ] Creating command line "cl.exe @" d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ RSP000009198015996.rsp "/ nologo / errorReport: prompt" Results Window Compiling ... L2SkillFunc.cpp (CCreature *, CObject *, const CSkillInfo *, const double, const int, const (const), const (const), const int, const bool) 'a' double (__cdecl *) (CCreature *, CObject *, const CSkillInfo *, double, int, int, bool) ' None of the functions with this name in the scope match the destination type (CCreature *, CObject *, const CSkillInfo *, const double, const int, const (const), const (const), const int, const bool) 'a' double (__cdecl *) (CCreature *, CObject *, const CSkillInfo *, double, int, int, bool) ' None of the functions with this name in the scope match the destination type (CCreature *, CObject *, const CSkillInfo *, const double, const int, const (const), const (const), const int, const bool) 'a' double (__cdecl *) (CCreature *, CObject *, const CSkillInfo *, double, int, int, bool) ' None of the functions with this name in the scope match the destination type CSkillOperateCondition_op_check_abnormal.cpp (CS_CreateCondition_op_check_abnormal * (__ cdecl *) (const size_t) 'to' CSkillOperateCondition_op_check_abnormal * (__ cdecl *) (size_t) '. None of the functions with this name in the scope match the destination type CSkillEffect_t_hp.cpp (C: \ Program Files \ CSkillEffect_t_hp.cpp (11): error C2664: 'FnPtr': Can not convert parameter 1 from 'CSkillEffect_t_hp * (__ cdecl *) (const size_t)' to 'CSkillEffect_t_hp * (__ cdecl *) (size_t)' None of the functions with this name in the scope match the destination type Generating code ... Results The generation record was saved in the "file: // d: \ l2shrine-extender-public-8690f2aa668a \ l2shrine-extender-public-8690f2aa668a \ MyExt64 \ x64 \ Release \ BuildLog.htm" MyExt64 - 5 errors, 0 warnings Quote
eressea Posted October 3, 2017 Author Posted October 3, 2017 Did you install VS2005 SP1 https://www.microsoft.com/en-us/download/details.aspx?id=7524? Quote
tiagopyerri Posted October 4, 2017 Posted October 4, 2017 Have you complete VS2005 for download+serial Key ? 21 hours ago, eressea said: Did you install VS2005 SP1 https://www.microsoft.com/en-us/download/details.aspx?id=7524? Quote
eressea Posted October 4, 2017 Author Posted October 4, 2017 3 hours ago, tiagopyerri said: Have you complete VS2005 for download+serial Key ? I think this worked https://uloz.to/!sie8CPwYt/visual-studio-2005-professional-edition-zip Quote
lordeze Posted October 5, 2017 Posted October 5, 2017 I have achieved it. I am happy. but now I get another : C msj: specify the name of the executable file for the debug session Quote
eressea Posted October 5, 2017 Author Posted October 5, 2017 You can't run DLL file. Did it create MyExt64.dll in server directory? If so, you're done :) Quote
lordeze Posted October 6, 2017 Posted October 6, 2017 I still do not get the compile. I feel that I do not know anything. I do not see the .server.exe nor the npc.exe nor the common .exe ... but I will not give up I must learn. Thanks to your help I have come to this: Quote
eressea Posted October 6, 2017 Author Posted October 6, 2017 It doesn't create exe files, it creates only MyExt64.dll. Use exe files from here: http://download.l2shrine.com/L2ServerMyExt64.exe http://download.l2shrine.com/CachedMyExt64.exe http://download.l2shrine.com/L2NPCMyExt64.exe Quote
solton57010 Posted October 10, 2017 Posted October 10, 2017 (edited) I am trying to build but i am getting tons of errors C2664 can somebody help? Edited October 10, 2017 by solton57010 Quote
eressea Posted October 10, 2017 Author Posted October 10, 2017 4 hours ago, solton57010 said: I am trying to build but i am getting tons of errors C2664 can somebody help? Screenshot? Do you have VS2005 SP1 installed? Quote
solton57010 Posted October 10, 2017 Posted October 10, 2017 1 hour ago, eressea said: Screenshot? Do you have VS2005 SP1 installed? Yes i hage VS2005 Sp1 Here are the errors Quote 1>------ Build started: Project: MyExt64, Configuration: Debug x64 ------ 1>Compiling... 1>main.cpp 1>.\main.cpp(95) : error C2664: 'LoadLibraryA' : cannot convert parameter 1 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\main.cpp(99) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\main.cpp(104) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\main.cpp(147) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [1024]' to 'LPSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\main.cpp(148) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'wchar_t [1024]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Server.cpp 1>.\Server\Server.cpp(108) : error C2664: 'LoadLibraryA' : cannot convert parameter 1 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\Server.cpp(113) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [40]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\Server.cpp(117) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [18]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\Server.cpp(347) : error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'LPCWSTR' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\Server.cpp(355) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\Server.cpp(356) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>EventDrop.cpp 1>.\Server\EventDrop.cpp(30) : error C2664: 'GetPrivateProfileStringA' : cannot convert parameter 1 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\EventDrop.cpp(52) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [64]' to 'LPSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Server\EventDrop.cpp(55) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [64]' to 'LPSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>NPCd.cpp 1>.\NPCd\NPCd.cpp(62) : error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'LPCWSTR' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\NPCd\NPCd.cpp(87) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\NPCd\NPCd.cpp(88) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Compiler.cpp 1>.\NPCd\Compiler.cpp(19) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [66]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\NPCd\Compiler.cpp(40) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [4096]' to 'LPSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\NPCd\Compiler.cpp(42) : error C2664: 'wsprintfA' : cannot convert parameter 1 from 'wchar_t [4096]' to 'LPSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\NPCd\Compiler.cpp(44) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'wchar_t [4096]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Cached.cpp 1>.\Cached\Cached.cpp(38) : error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'LPCWSTR' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Cached\Cached.cpp(46) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Cached\Cached.cpp(47) : error C2664: 'ShellExecuteA' : cannot convert parameter 2 from 'const wchar_t [5]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Utils.cpp 1>.\Common\Utils.cpp(253) : error C2664: 'CreateFileA' : cannot convert parameter 1 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Config.cpp 1>.\Common\Config.cpp(221) : error C2664: 'MessageBoxA' : cannot convert parameter 2 from 'const wchar_t [261]' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>.\Common\Config.cpp(228) : error C2664: 'GetPrivateProfileStringA' : cannot convert parameter 1 from 'const wchar_t *' to 'LPCSTR' 1> Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast 1>Generating Code... 1>Build log was saved at "file://c:\Users\Giannis\Documents\extender-public\MyExt64\x64\Debug\BuildLog.htm" 1>MyExt64 - 27 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Quote
eressea Posted October 10, 2017 Author Posted October 10, 2017 2 minutes ago, solton57010 said: Here are the errors Switch to release configuration Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.