>To all,
>
>Some questions about DECLAREing ODBC functions:
>
>I'm going to have to use some ODBC functions that VFP doesn't include with its base functionality; SQLExecDirect() and SQLRowCount().
>
>Due to the nature of my app, I'll be needing to use these functions with several instantiations of the class that's using the functions.
>
>The programming flow predicates the declaration of these functions in the INIT() of the objects.
>
>Is there a programmatic way of determining if the function(s) has already been declared
>(other than LIST/DISPLAY DLLs).
>
>Do I care? ...Is the repeated declaration of an API function detrimental in any way (i.e. memory use)?
>
>TIA,
>Thom C.
Thom,
aDlls() function gives you an array of the dlls declared (vfp 7 onwards)
No problem in redeclaring them, except for a small speed penalty (lookup in dll)
Gregory