Exception error with ads_ssget ; debug mode

Discussion in 'AutoCAD' started by Y. Gauthier, Jul 7, 2003.

  1. Y. Gauthier

    Y. Gauthier Guest

    Hi,

    I get the message "Exception: Access Violation at address 1000165fh"
    when I reach ads_ssget in the code below:

    //******************
    ads_name sset;
    struct resbuf rba = {NULL, 0L};
    rba.resval.rstring = "LINE,ARC,CIRCLE,INSERT";
    int retval = ads_ssget("_A",
    NULL,
    NULL,
    &rba,
    sset);

    //******************

    But the message appears only in debug mode in Visual C++ 6.0
    It works when compiled in release mode.

    Someone has an idea what is the problem?

    Thanks,

    Yves
     
    Y. Gauthier, Jul 7, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.