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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement