Exception error with ads_ssget ; debug mode

Y. Gauthier

Usenet Archive
Joined
May 15, 2003
Messages
7
Reaction score
0
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
 

Latest threads

Back
Top