Click to See Complete Forum and Search --> : Can't add my new C++ dll to program


Drew A
September 27th, 2001, 07:16 AM
When I try to add this new dll to the refrences it won't let me. If in my declare statement I hardcode in the location of my dll after Lib it works but this won't be very safe when others install it. Any ideas?

Declare Function GetHWp Lib "D:\GetHW\Release\GetHW.dll" () as Long



Thanks.

K.Babu
September 28th, 2001, 06:23 AM
hi

you just copy the .dll in your .exe directory itself, it that case u don't need specify the path in declare statement just u enter the dll file name only.

if you had any problem mail me

Babu

MailID: k_babs@hotmail.com