Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Jan 22nd, 2005, 4:17 PM   #1
amrfathy_egy
Newbie
 
Join Date: Jan 2005
Posts: 3
Rep Power: 0 amrfathy_egy is on a distinguished road
Linking dll failure (file not found)

i've been trying to link a dll file written with VC++ to VB6 ..
but it keeps telling me error 53 "file not found"

i tried making an ordinary dll file in VC and link it to VB it worked perfectly (it contained a small program adding 2 values), but when i try to link my dll file it refuses telling me "file not found"

note that my dll file contains many functions and takes many variables, also it calls other dll files from that dll

the code i wrote in VB was
in declaration:
Private Declare Function Core Lib "CoreDll.dll" (ByVal File_Name As String, ByVal width_resized As Integer, ByVal height_resized As Integer, ByVal PaperROIWidth As Integer, ByVal PaperROIHeight As Integer, ByVal CornerWidth As Integer, ByVal CornerHeight As Integer, ByVal CornerArea As Integer, ByVal CornerVar As Integer, ByVal Num_Questions As Integer, ByVal Num_Answers As Integer, ByVal AnsxStart1 As Integer, ByVal AnsxStart2 As Integer, ByVal AnsyStart As Integer, ByVal AnsxShift As Integer, ByVal AnsyShift As Integer, ByVal AnsWidth As Integer, ByVal AnsHeight As Integer, ByVal AnsAreaThr As Integer, ByVal SecStartY As Integer, ByVal SecStartX1 As Integer, ByVal SecStartX2 As Integer, ByVal BNStartX1 As Integer, ByVal BNStartX2 As Integer, ByVal SecBNWidth As Integer, ByVal SecBNHeight As Integer, ByVal SecBNAreaThr As Integer) As Integer

and i called it with the line ..

X = Core("Ans-Exam_Networks-Model9.BMP", 778, 1100, 700, 1000, 70, 70, 100, 40, 60, 4, 78, 463, 131, 59, 27, 30, 30, 100, 74, 286, 315, 385, 414, 14, 21, 5)

so VB halts at that line (the call one)

i've been trying to know where the problem is for several days with no success.

thank you
amrfathy_egy is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC