Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Playing a WAV file in the init() Method
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00499683
Message ID:
00507279
Views:
9
Steve,

Declare the function, and all other API declarations you are going to use, once in your main process as early as possible in the application. Then they are available when you want them.

In most of my applications, I use the same set, so I have placed the declarations in a table and declare the functions by scanning the table. That way I can add and/or delete functions very easily without having to recompile my apps.

Jim E.

>The only thing I am concerned with is that I am declaring the integer every time this is called, and am not sure if I am eating resources when I do this.... George? Ed?
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform