Newbie Spellweaver
- Joined
- Mar 31, 2022
- Messages
- 80
- Reaction score
- 9
The external issue is due to bad copy/pasting.
Unless your using a theme changer then the m_Multi can be removed.
Simply remove the code with it, it's pretty simple. If it breaks? Try again.Can you give me some example of how can I remove m_Multi ?
Yes, most likely.The external issue DPsrvr.obj is show on DPsrvr.obj is that mean I make bad copy/paste on DPSrvr.cpp and DPSrvr.h?
You must be registered to see links3 Error now
I use Winmerge to copy code that contain __OFFLINE_VENDOR from #ifndef to #endif from every file in V19 source folder to same file in V18.1 source folder but when I use VS22 to rebuild it give me this error I don't know how to fix it [Actually I got 600+ error but I retry to copy paste 7-8 time to reduce the error]
BTW I don't have knowledge about coding I try to copy and add sometime replace the code that look identical but have less line and try to not mess the syntax as far as I know.
You must be registered to see links
The file contain 49 reference file from V19 and 48 edited file from V18.1
You must be registered to see links
I'm try to copy paste multiple time but I can't figure out what is wrong in this two file of DPSrvr can someone help?
You must be registered to see linksDPSrvr.cpp V18 Edited
You must be registered to see linksDPSrvr.cpp V19 Ref
You must be registered to see linksDPSrvr.h V18 Edited
You must be registered to see linksDPSrvr.h V19 Ref
remove on this part
void CDPSrvr::OnSendOffVendorInfo(CAr & ar, DPID dpidCache, DPID dpidUser, LPBYTE lpBuf, u_long uBufSize)
TRY
CATCH
its be cause this is not define on v18.1
ServerCommon.h is how gurus set it. In v18.1 its kCommon.h .I try to remove TRY and CATCH from that part then compile and remove all TRY and CATCH in the file and compile but I got same error.
BTW I don't saw ServerCommon.h in 18.1 so I don't copy it from V19 to V18.1 could this be the cause of error?
I will try to remove TRY and CATCH in 48 file that contain __OFFLINE_VENDOR and try again.
expected an expression..You must be registered to see links
I delete CATCH and TRY in every file and try to compile the old error gone but what should I do with this 3 dot?
normally it have CATCH before it.
#ifdef __ON_ERROR
}
catch (...)
{
WriteLog( "OnJoin(): %s, %d", pUser->GetName(), nOnError );
}
#endif // __ON_ERROR
expected an expression..
Code:#ifdef __ON_ERROR } catch (...) { WriteLog( "OnJoin(): %s, %d", pUser->GetName(), nOnError ); } #endif // __ON_ERROR
Hmm That will make code look like before I edit to remove TRY and CATCH but the old V18.1 also contain try and catch at start maybe the TRY and CATCH is not the cause of problem.
My files by default do not contain: TRY and CATCH