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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only