Hello,

> I don't use DirectX SDK, between where is it needed?
>From http://sipx-
wiki.calivia.com/index.php/SipXtapi_and_sipXezPhone_Build_Environment_for_Windows#Installing_Mi
crosoft_Visual_Studio 
"Microsoft DirectX is used for video support. In order to build sipXtacklib 
DirectX has to be installed 
even if building "Debug_NoVideo" (this is most likely a bug in the build 
system). The DirectX SDK can 
be downloaded from Microsoft for free." 

But I found my major source of problems. Something related to the "strdup" 
use... I'm solving lots of 
crashes by replacing strdup by malloc+strcpy.
Google it by "strdup _CrtIsValidHeapPointer"

Eg. UtlTokenizer.cpp module:

UtlTokenizer::UtlTokenizer(const UtlString& tokens)
{
//    m_tokens = (char *)strdup(tokens.data());
    m_tokens = (char *)malloc(strlen(tokens.data())+1);
    strcpy(m_tokens,tokens.data());
    m_tokenPosition = 0;
}

// Destructor
UtlTokenizer::~UtlTokenizer()
{
    free(m_tokens);
}

Thanks,
Evandro

>Hello,
>
>Yes, I use VS 2003. And, I don't use DirectX SDK, between where is it 
>needed?
>
>Thanks,
>Hitesh
>
        .



_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to