can't find entrypoint Error 453

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Oct 2007
Posts: 2
Reputation: Andre de R is an unknown quantity at this point 
Solved Threads: 0
Andre de R Andre de R is offline Offline
Newbie Poster

can't find entrypoint Error 453

 
0
  #1
Oct 28th, 2007
I want to ad an .dll procedure to my VB application but when I try to run the dll I get the error message 453 can't find etc.
The code is

Private target As Integer
Private solutions As Integer
Private mode As Integer
Private Type dealstr
trump As Integer
first As Integer
currenttricksuit(1 To 3) As Integer
currentrickrank(1 To 3) As Integer
remaincards(3, 3) As Integer
End Type
Private Type futuretricksstr
nodes As Integer
cards As Integer
suit(1 To 13) As Integer
rank(1 To 13) As Integer
equals(1 To 13) As Integer
score(1 To 13) As Integer
End Type


Dim deal As dealstr
Dim tricks As futuretricksstr

Private Declare Function Solveboard Lib "dds" Alias "Solveboard@112" (ByRef deal As dealstr, ByVal target As Integer, ByVal solutions As Integer, ByVal mode As Integer, ByRef tricks As futuretricksstr) As Long


Private Sub Command1_Click()

'CALL THE SOLVEBOARD
ChDir ("c:\braassembridge")
Call Solveboard(deal, target, solutions, mode, tricks)

End Sub

The dds.def file whick came with the .dll file (written in VC++ Express) looks like this

LIBRARY dds
EXPORTS
SolveBoard
SolveBoard@112 = SolveBoard

Can someone help me with this problem?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC