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:
00507102
Views:
13
Steve -
I don't have expert knowledge on such things, but I asked this question of someone who does (Ed Rauh) and I believe he said that the DECLARE essentially has global scope. Try declaring the API call once at the application level, and if that works, you shouldn't have any worries about resources.
zahid

>>pmfji but where are you calling this method from? in the init or the load or activate?
>
>I am calling it from the Click() method of buttons, so they have a "click" when pressed. I am calling it from the Init() of the form when it starts to forms can have a "launch sound". It's getting called a lot, so I wonder if I will hurt anything by re-declaring that DLL a zillion times.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform