hi all , how can i create Function in .dll file do anything like calculate between numbers (for Ex.)
and use this Function in standard EXE Project by Declare Function like Declare API Functions

i use (ActiveX DLL) and create Function calculate between 2 numbers .
this code in the (ActiveX DLL) Class

Public Function FirstFunction(X1 As Long, X2 As Long) As Long
FirstFunction = X1 + X2
End Function

and make a dll file
------------------------------------------------------------------------
and in new (standard EXE) Project
add new Module1
add this code in Module1

Public Declare Function FirstFunction Lib "C:\WIN98\Desktop\DLL\DllFileName.dll" (X1 As Long, x2 As Long) As Long

add this code in the form code

Private Sub Form_Load()
Text1.Text = FirstFunction(3, 5)
End Sub

run the program
you will see (error(453) Can't find Dll entry point FirstFunction in DllFileName.dll)
how i can solute this Problem ?
-------------------------------------------------