Menu

Building Cayuga Client VS 2008

Lucy Walle
2010-05-03
2013-04-26
  • Lucy Walle

    Lucy Walle - 2010-05-03

    I am attempting to stream the data from a client I have written, reading the data from a SQL Database. (For simulation purposes at the moment.)
    I am having trouble with the receive on the Cayuga side, as soon as it hits this section of code:
    // Now, receive a string of that length
    char *buffer = new char;
    It's throwing an exception:
    Unhandled exception at 0x7535e124 in Cayuga.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x053ffb5c..

    Do you have any other examples of client applications you can post? or any suggestions of what I should try next?
    Thanks

     
  • Lucy Walle

    Lucy Walle - 2010-05-13

    The client code was sending the integer value in little endian - it needs to be in big endian.
    In case anyone else runs into this…

     

Log in to post a comment.

MongoDB Logo MongoDB