Trouble in modify ChatterBox VoIP Sample RRS feed

  • Question

  • Hi all:

    I have some troubles in modify ChatterBox VoIP Sample.

    I can compile and run the sample successful without change.

    When I add a paramater to the method "CallController::InitiateOutgoingCall",such as:

    bool CallController::InitiateOutgoingCall(Platform::String^ recepientName, Platform::String^ recepientNumber, unsigned int port)

    notice the last paramater "port"

    It's can be compiled but crashed when I call the method to make outgoingcall. the error message is :

    "System.AccessViolationException : Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

    When I change the type of last paramater "port" to Platform::String^,the error message is:

     0xC0000005:  write access violation at: 0x00000000

    Actually in my code,the new paramater have not been used.So I think it's not about the new paramater,It's some error about compile or some otherthings.

    I'm not good at C++,so I don't know how to resolve it.

    Could you give me some idea ?



    Thursday, June 25, 2015 7:31 AM

All replies

  • Anybody help me?


    Monday, June 29, 2015 3:42 AM