error 453 Cant find dll entry point (1 Viewer)

ike

New member
Local time
Today, 00:59
Joined
Jan 6, 2011
Messages
7
hello, i've develop a dll in .NET with the following code
Snippetusing System;
namespace Test
{
public class Test
{
public static string Prueba()
{
return "from dll";
}
}
}

and i try to call it from vba access 2002 this way:

Option Compare Database
Declare Function Prueba Lib "C:\Test.dll" () As String

Option Explicit
Public Sub test()
Dim a As String
a = Prueba()
MsgBox a
End Sub

and i getting the error 453, cant find dll entry point, any idea to solve this please
??
thanks in advance
ike
 

ike

New member
Local time
Today, 00:59
Joined
Jan 6, 2011
Messages
7
already solved.... never mind :D
 

Users who are viewing this thread

Top Bottom