|
-
October 7th, 1999, 01:24 AM
#1
Declared DLL file not found??
Hi,
I have the following declarations in my Module file:
Declare Sub InstallMyHook Lib "HookKB" (byval hWnd as Long)
Declare Sub UnInstallMyHook Lib "HookKB" (byval hWnd as Long)
HookKB.dll is a little dll written by me in MS VC++, and is installed in the Windows\System directory.
On my own computer, everything runs smoothly.
But when my VB program is run on another computer, I get a "File not found HookKB" error, although the HookKB.dll is installed properly into the Windows\System directory.
I even tried changing Lib "HookKB" to Lib "HookKB.dll". But it still doesn't work.
Why does this happen? Why does it work on my computer and not on another?
How do I resolve this? Help help.
Rgds,
Ming_Wah
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|