Menu

#13 Sender sample causes run-time error when built with VS.net

open
nobody
None
5
2004-11-09
2004-11-09
Anonymous
No

When the sample Sender and Reciever are built with
VS.net 2003, a runtime error occures in
xltenc.c line 1115
due to pContent being an invalid (but not NULL) pointer.

The simple fix is to add

sync.meta = NULL;

to myStartSync in builder_wrapper.c before

return smlStartSync(id, &sync);

so the pointer is not mistaken for a valid pointer.

Simple.

Cole Goeppinger

Discussion

  • Kidong Lee

    Kidong Lee - 2004-11-25

    Logged In: YES
    user_id=551740

    Fixed.
    You can test fixed source on CVS.

    Thanks.

     
  • Nobody/Anonymous

    Logged In: NO

    This is true for all builds. I just "fixed" the same issue in a Windows build.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.