How to create .net vb dll that cam be caled from Progress

alesm

New Member
hi,

I have a problem wiit creation of dll library for my client.

I have an application that is writen in vb .net and uses SQL server 2008 database. my task is to create an dll. So that my client can call it from progress an thrue my functions and procedures he can get to data that he needs.

when we created an dll and called it from progres we always get the same error.
"Could not find the entrypoint _t1@0. (3260)"

my client uses Progress version 9.1D

CODE in my DLL:
Public Class Class1 Public Shared Sub t1()
Dim a As Integer
a = 1 + 1
End Sub




Public Shared Function t2() As String
Return "Return String"
End Function




Public Shared Function t3(ByVal str As String) As String
Return "Return " & str
End Function


End Class
 

WolfStone

New Member
I Think the Problem is not the code in the DLL.
You should register the DLL in the Assambycache.

Regasm.exe yourdll.dll /codebase

lg
WolfStone
 
Top