Jump to content

Recommended Posts

Posted (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:59d1cf7e7f7d5_serverport.thumb.jpg.e7bff1b235f71de80f430e0f1a2b5d2b.jpg
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 by lordeze
Posted (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 by eressea
Posted

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

20171002185656.jpg

Posted

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:

 

20171005235552.jpg

Posted
Posted
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?

Posted
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 ==========

 

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...