Hi All,
As I know, when I declare functions from DLL, like this:
Code:
Private Declare Function MessageBox Lib "user32" Alias "MessageBoxA" (ByVal hwnd As Long, ByVal lpText As String, ByVal lpCaption As String, ByVal wType As Long) As Long
If refer to system dll

When I declare function like this:
Code:
Private Declare Function MyFunc Lib "test.dll" Alias "DLLMyFunc" (ByVal lpText As String) As Long
I refer to test.dll file which may be located in app folder or in system folders (windows, windows\system32 etc.)
If test.dll located in app folder and system folder too, to which dll VB would refer?
How can I refer to specfic dll? For example, only for DLL, which located in app folder, event such dll is located in system folder too
Thanks all

P.S. Sorry for my eng )))