Niclas
2003-10-31, 20:45
hello, i have modified the capplication::initialize() function in order to enable remote debugging from visual studio 2003.
i have added the #ifndef _debug and #endif around the init network function.
*// initialize network
#ifndef _debug
*if ( cutil::initializenetwork(g_stsettings.m_strlocalip adres,
* * * * * * * * * * * * * *g_stsettings.m_strlocalnetmask,
* * * * * * * * * * * * * *g_stsettings.m_strgateway ) )
*{
m_sntpclient.create(); * * * * * * * * * * *
* *
*}
#endif
is this the prefered way to debug xbox media center?
regards
i have added the #ifndef _debug and #endif around the init network function.
*// initialize network
#ifndef _debug
*if ( cutil::initializenetwork(g_stsettings.m_strlocalip adres,
* * * * * * * * * * * * * *g_stsettings.m_strlocalnetmask,
* * * * * * * * * * * * * *g_stsettings.m_strgateway ) )
*{
m_sntpclient.create(); * * * * * * * * * * *
* *
*}
#endif
is this the prefered way to debug xbox media center?
regards