Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute DLL file

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
how can i write a small dll file which will point to another dll file in another directory????
 

Hi,

Open VB and select new 'ActiveX dll' to create a VB dll. You can link to other libraries in 2 ways:
1) goto menu project -> references and set a reference to another dll.
2) reference the dll directly by using declare statement. Example:
-----------------------------------------------------------
Private Declare Sub polyintp Lib "c:\c++\JInterPol\debug\JInterPol.dll" (ByRef XArrPtr As Any, ByRef YArrPtr As Any, ByVal n As Long, ByVal x As Single, ByRef y As Single, ByRef dy As Single)
-----------------------------------------------------------

When you deploy your project onto other pc, make sure that you get all relavent dll included in the installation. That can be done by using the package & deployment wizard to create dependency information for you VB dll (or you can do it by copying and regisrering you dlls by hand).
Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top