"Can't find DLL entry point"
Posted on 1998-06-30
I create a test dll named testDll (Axtivex DLL using VB5.0) that has a function TrippleVal:
Private Function TrippleVal(ByVal theVal As Integer) As Integer
TrippleVal = 3 * theVal
Then I try to use the dll in a test program(also using VB5.0):
Private Declare Function TrippleVal Lib "testDll" (ByVal v As Integer) As Integer
Public Sub Command1_Click()
Dim w As Integer
w = TrippleVal(12)
As I run the test program, I get "can't find Dll entry point TrippleVal in testDll.dll ".
I am asking some one to help me to figure out the problem.