|
-
Oct 13th, 2004, 02:41 AM
#1
Thread Starter
PowerPoster
File Not Found
This code works on my developement machine but not on clients machine.
I am getting error - run time error '53' File not found MDicInstallCheck.dll.
What the hell is this . MDicInstallCheck.dll is developed in VC (It can't be reffered from Project >> References).
My application's exe & MDicInstallCheck.dll are in the same directory.
VB Code:
Private Declare Function MDicInstallCheck Lib "MDicInstallCheck.dll" (ByVal szCmdLine As String) As Boolean
Private Sub cmdCancel_Click()
Unload Me
End Sub
Private Sub cmdOK_Click()
Dim strCmdLine As String
strCmdLine = Chr(34) & "{" & txtKey.Text & "}" & Chr(34) & " " & txtHide.Text
If (MDicInstallCheck(strCmdLine)) Then
MsgBox "Registration Complete. Activated Installation", vbInformation, "MRecord 2004 PRO Release 3"
MsgBox "Thank You for Installing MRecord", vbInformation, "MRecord 2004 PRO Release 3"
End
Else
MsgBox "Invalid Entry, Try Again", vbExclamation, "MRecord Release 3 Setup"
End If
End Sub
Private Sub Form_Unload(Cancel As Integer)
Shell (App.Path & "\PV.exe -k -f msiexec.exe")
MsgBox "Installation Aborted", vbInformation, "MRecord Professional Setup"
End
End Sub
-
Oct 13th, 2004, 03:03 AM
#2
KING BODWAD XXI
try in run
e.g Start >> run
regsvr32 "<FILEPath>"
-
Oct 13th, 2004, 03:39 AM
#3
Thread Starter
PowerPoster
Originally posted by BodwadUK
try in run
e.g Start >> run
regsvr32 "<FILEPath>"
The DllRegisterServer entry point was not found in C:\InstallCheck\MDicInstallCheck.dll
-
Oct 13th, 2004, 04:11 AM
#4
KING BODWAD XXI
try copying the DLL into the system32 folder
-
Oct 13th, 2004, 04:13 AM
#5
Thread Starter
PowerPoster
tried that also but no luck . thanks for replying.
-
Oct 13th, 2004, 04:16 AM
#6
KING BODWAD XXI
What OS is your development PC and what OS is the clients PC?
Maybe the DLL needs an external file and thats what it is picking up
-
Oct 13th, 2004, 04:20 AM
#7
Thread Starter
PowerPoster
I am developement OS is Windows 2000 and i am deploying my app to Windows 2000, Windows 98, Windows XP. It is not working on any machine (It works if vb is installed).
-
Oct 13th, 2004, 04:41 AM
#8
KING BODWAD XXI
Have you installed VB6 Dependancies on the client pc's?
-
Oct 13th, 2004, 04:42 AM
#9
Thread Starter
PowerPoster
-
Oct 13th, 2004, 04:46 AM
#10
KING BODWAD XXI
What does this DLL do?
-
Oct 13th, 2004, 05:04 AM
#11
Thread Starter
PowerPoster
retrieves registration info of new client from our remote server.
-
Oct 13th, 2004, 05:13 AM
#12
KING BODWAD XXI
Does it write to any files?
-
Oct 13th, 2004, 05:17 AM
#13
Thread Starter
PowerPoster
no. it validates new customer and creates few entries in registry if valid (gets that values from remote server).
-
Oct 13th, 2004, 05:39 AM
#14
KING BODWAD XXI
Hmmm
Why not use it as a referance in VB or cant you?
-
Oct 13th, 2004, 05:42 AM
#15
Thread Starter
PowerPoster
it is not registerable. When i try to register it gives me error like this : The DllRegisterServer entry point was not found in C:\InstallCheck\MDicInstallCheck.dll
-
Oct 13th, 2004, 06:17 AM
#16
KING BODWAD XXI
hmmm???
Is the DLL project set to binary mode before you compile it?
See project settings in one of those tabs
-
Oct 13th, 2004, 06:19 AM
#17
Thread Starter
PowerPoster
that dll is developed in vc and don't anything about vc.
-
Oct 13th, 2004, 06:25 AM
#18
KING BODWAD XXI
Do you know the person that made it?
-
Oct 13th, 2004, 06:26 AM
#19
Addicted Member
I guess that you've put VB runtime library on the clients??
-
Oct 13th, 2004, 06:27 AM
#20
KING BODWAD XXI
You havent got folder options set differently have you?
If yours displays all extensions and their's doesnt display know extensions then you may have accidently got an extra .dll in the file name
-
Oct 13th, 2004, 06:30 AM
#21
Thread Starter
PowerPoster
The person who developed that dll is no more in this company and i have installed vb6 runtimes, but no luck
Thanks for replying.
-
Oct 13th, 2004, 06:32 AM
#22
Thread Starter
PowerPoster
Originally posted by BodwadUK
You havent got folder options set differently have you?
If yours displays all extensions and their's doesnt display know extensions then you may have accidently got an extra .dll in the file name
i don't get it, can u pls explain in details.
-
Oct 13th, 2004, 06:41 AM
#23
KING BODWAD XXI
If your PC has folder options set to show extensions of all files e.g
Main.dll
Main.exe
etc.
and your clients are set to hide all extensions to known files
It would show up as (Different Icons)
Main
Main
-
Oct 13th, 2004, 06:46 AM
#24
Thread Starter
PowerPoster
BodwadUK, i am confused . What is the relation of my problems with the thing that u r saying. . I can see my file extensions.
-
Oct 13th, 2004, 06:57 AM
#25
Thread Starter
PowerPoster
Hey BodwadUK thanks for ur continues and immediate replies. U r here from very long time. Thanks
-
Oct 13th, 2004, 07:05 AM
#26
Fanatic Member
If you're still stuck with this then you should download Filemon (freeware) from www.sysinternals.com, put it on a client machine and run it alongside your app.
This program will tell you exactly what files your dll is trying to call and then you will find out which one really is missing.
From the way you've described it, it sounds like the MDicInstallCheck.dll is looking for some external file that is not there. (maybe an ini or cfg file?)
-
Oct 13th, 2004, 07:17 AM
#27
Thread Starter
PowerPoster
Thanks Blade . I will see into it.
-
Oct 13th, 2004, 07:36 AM
#28
KING BODWAD XXI
if I call a file
Wibble.dll.dll
on a pc with file extensions hidden it will show up as
wibble.dll
because it hides the file extension
best bet is remove the .dll on the end of the filename and see if warns you of a file type change
-
Oct 13th, 2004, 07:38 AM
#29
Thread Starter
PowerPoster
that is not the case here
-
Oct 13th, 2004, 07:39 AM
#30
KING BODWAD XXI
Try blades idea because that it all it can be now
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
|