How to create a DLL using VB6

I wish to create a DLL, using VB6, or VB7(.net) to be useable as in the example shown.


Option Explicit
Declare Function Testthis Lib "test.dll" (ByVal i_Anyint As Integer) As Integer

Sub calldll()
    Call Testthis(2)
End Sub

Ie, its NOT an activeX DLL. Can it be done, and if so, how?
GrahamAtJobserveAsked:
Who is Participating?
 
TimCotteeConnect With a Mentor Head of Software ServicesCommented:
Not in VB6 though there is an add-in which claims to be able to do this: http://www.banasoft.net/MakeEx.htm as for vb.net I don't know yet!
0
 
GrahamAtJobserveAuthor Commented:
Cheers Tim, good answer as always.

I suspected as much, but there was always the chance that there was a way to do it somehow. Not going to try the add-in though.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.