I currently am using a .NET type library with vb 6 via a reference to it via Project -> References. I would like to make it more independent. I am curious whether I can access this library via a statement like this:
Public Declare Function Encode Lib "typelibrary.tlb" (ByVal intfilename As String,_
ByVal outfilename As String) As Integer
I haven't been able to find any reference to this and I haven't been able to get it to work myself. When I try it says: Error:53, File not found: typelibrary.tlb.