calling a c# dll with vb6
Hi all!
I'm really new to vb6 and have some knowledge of C# and would like to create a vb6 program that calls a C# dll but I've found a huge problem which is, I always get a "dll runtime error 453".
I've been googling for some hours and can't find the solution for this problem...
please help.
thanks a lot
B33bs
(here's the code sample... it's just an example)
Private Declare Function func Lib "C:\Documents and Settings\...\dllnewAtt.dll" () As String
Private Sub Command1_Click()
Dim nSpeed As String
nSpeed = func()
Form1.Text1.Text = nSpeed
End Sub