Is there a way When declaring a API To use App.Path For the Location of the library Without using Load Library API?
Printable View
Is there a way When declaring a API To use App.Path For the Location of the library Without using Load Library API?
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.
I am Using a declar on a OCX File And it doesn't get it from the App.Path