|
-
February 8th, 2007, 04:07 PM
#1
File not found runtime error 48, but DLL is there
Hi, I'm receiving reports of a program that uses msimg32.dll, which on some systems shows a run time error 48: File not found, while the file is present at the Windows\System32 directory.
This files does not require registration, so regsvr32 does not work on it. First I thought it was a Windws 9x problem, but it happens on some XP SP2 as well.
Any ideas on a possible solution to this would be appreciated.
-
February 8th, 2007, 10:57 PM
#2
Re: File not found runtime error 48, but DLL is there
Busy 
-
February 9th, 2007, 10:28 AM
#3
Re: File not found runtime error 48, but DLL is there
Of course:
Code:
'-- mask picture color
Public Declare Function TransparentBlt Lib "msimg32.dll" (ByVal hdc As Long, ByVal X As Long, ByVal Y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal crTransparent As Long) As Boolean
Should I add a reference to this file at the References dialog as well? I just noticed it's not checked in there.
-
February 10th, 2007, 12:05 AM
#4
Re: File not found runtime error 48, but DLL is there
by the way, is that the actual error message? because in my system the error will read as
Run-time error '53':
File not found: <dll name>
anyway, try to include that dll in your programs directory or might as well in any of the directories specified in the PATH (environment variable).
Busy 
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
|