Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DECLARE issues
Message
From
23/07/2003 12:35:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00812822
Message ID:
00812829
Views:
10
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform