|
发表于 2007-12-24 11:22:00
|
显示全部楼层
求助:如何调试LegendOfMir2_Server
LegendOfMir2_Server中有12个文件夹,分别是
AdminCmd,DBSvr,Def,GameGate,GameSvr,LoginGate,
LoginSvr,ManConsole,SelGate,SQL_Scripts,Tools,VirtualClient
这些是否要连接起来呀?如何调试?
VirtualClient中的InitClient.h头文件是空的,要靠自己写出来么?还是其它原因?
调试时有错误提示
DlgFunc.obj : error LNK2019: 无法解析的外部符号 "void __cdecl CenterDialog(struct HWND__ *,struct HWND__ *)" (?CenterDialog@@YAXPAUHWND__@@0@Z) ,该符号在函数 "int __stdcall LoginFunc(struct HWND__ *,unsigned int,unsigned int,long)" (?LoginFunc@@YGHPAUHWND__@@IIJ@Z) 中被引用
看来CenterDialog()函数没有定义,这个函数是否就是在VirtualClient中定义的?
求诸位大大帮助解答.
谢谢先 |
|