PDA

Click to See Complete Forum and Search --> : Declaring Api


shragel
Jul 3rd, 2001, 02:41 PM
Is there a way When declaring a API To use App.Path For the Location of the library Without using Load Library API?

Yonatan
Jul 3rd, 2001, 04:40 PM
The Declare statement will search for the library in App.Path by default... That is, if the library could not be found in the system directory :rolleyes:

For more information about how VB searches for the library, see the documentation for LoadLibrary... VB immediately calls LoadLibrary so it's pretty much the eXact same thing.

shragel
Jul 3rd, 2001, 10:13 PM
I am Using a declar on a OCX File And it doesn't get it from the App.Path