<x-html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2919.6307" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>has anyone succeeded in adding objects with 
read/write access to an application's CDX on the AW70 using the FoxAPI function 
an_add_objects()?&nbsp;&nbsp;Adding read only objects works fine, but read/write 
access fails although FoxDoc describes it and even gives an example program 
(which fails, too).&nbsp; So I'm wondering who is wrong, the function's 
documentation or the example program.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have a small test program here which tries to add 
two RI parameters&nbsp;of a CALC block to the CDX.&nbsp; I could send it to 
anyone interested.&nbsp; We've tried this program on virtually every FoxAPI 
version we could find and it always failed with return code 76 which is not 
mentioned by FoxDoc as a possible return code for an_add_objects().&nbsp; 
foxapi.h defines it but the description there doesn't tell much since I don't 
pass any NULL pointers.&nbsp; If you change 'rdwrit' to 'rdonly' (for access 
type) in the program, it works fine.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I could of course open a data set instead for 
writing but I'm reluctant because doing so gives&nbsp;me those annoying command 
prompt windows flickering up briefly upon set opening and closing.&nbsp; Data 
sets also stay open if someone kills the application with the task 
manager.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Sascha 
Wildner</FONT></DIV></FONT></DIV></BODY></HTML>
</x-html>

Reply via email to