• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

VB .Net created dll is missing exports

I'm not a VB .Net heavyweight, but I got a dll created with VB .Net 2002 using this code:

Public Class Class1

    Public Function myFunction(ByVal input As String) As String
        'implementation
    End Function
End Class

Using a thirdparty viewer (sort of like quickview), there are no exports in the generated dll.  I need "myFunction" exposed so that I can call it externally.  I want to create a conventional dll, not an ActiveX one.  How do I tell which kind my dll is?  

Thanx in advance
0
dtlockard
Asked:
dtlockard
  • 2
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
.Net cannot create a DLL like the one your are talking about. It cannot create an ActiveX one neither.

You have to use a language like C/C++ to build them.
0
 
dtlockardAuthor Commented:
How about VB 6?  Can I create a conventional dll (with exported function(s)) with VB 6?

Thanx in advance
0
 
Éric MoreauSenior .Net ConsultantCommented:
no it will be a COM object (ActiveX)
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now