Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Playing a WAV file in the init() Method
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00499683
Message ID:
00507102
Vues:
12
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform