Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Code like below can't show all methods

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
wak Posted - Aug 06 2015 : 02:41:22 AM


do
{
#ifndef USE_HP_SOCKET
if ( m_spUDPSocket ) {
m_spUDPSocket->AdviseSink(t


his);
int nThreadCount = 1;
DWORD dwSendBufSize = 0, dwRecvBufSize = 0;
#ifdef MEIDA_PUBLISH_SERVER
nThreadCount = 0;
dwSendBufSize = 10*1024*1024;
dwRecvBufSize = 10*1024*1024;
#endif
#ifndef __LINUX__
if(S_OK != m_spUDPSocket->Start(m_MyNodeKey.localPort, 0, dwSendBufSize, dwRecvBufSize, nThreadCount))
{
break;
}
#else
if(S_OK != m_spUDPSocket->Start(m_MyNodeKey.localPort, true))
{
break;
}
#endif
#else
if ( m_spUDPSocket ) {
m_spUDPSocket->Start("0.0.0.0", m_MyNodeKey.localPort);
#endif
}
else
{
break;
}





1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Aug 07 2015 : 08:42:43 AM
Thank you for reporting this. I was able to reproduce the problem:

case=4222

Basically the problem is that our parser parses every preprocessor branches, so a mismatching {} can cause problems. This helps sometimes e.g. you can work with _DEBUG code while your active configuration is _RELEASE, etc. In this case this is causing trouble for you.

Anyway, this is clearly a bug.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000