build and work with a dll
hi,
i want creat and use a dll in vb6

so i created this in vb6 in a Activex Dll Project

Public Function DLLMain(ByVal A As Long, ByVal B As Long, ByVal c As Long) As Long
DLLMain = 1
End Function

and in a standard exe i have this:

Private Declare Function teste Lib "testDLL.DLL" (ByVal A As Double, ByVal B As Double) As Double

but when i run the project they result this error:

can´t find dll entry point teste in testedll.dll
why this dont work?

thanks for the help