-
Help making a DLL
I have VB4 apps that use custom dll's. I want to make a VB6 dll that will do the same job.
I have the functions and subs that call the dll which are 16bit. Can a dll be made only knowing the functions/subs?
I know I will have to convert Integer to Long, thats normal for 16bit dll's. :bigyello:
-
Re: Help making a DLL
First of all VB6 can only make ActiveX DLLs and not "regular" DLL files. But yes you can simply port the code. Just start VB6 and select a new ActiveX DLL project. You will be presented with an empty class file. Write (or cut & paste) the code into this class. Compile. To use this dll you need to set a reference to it and create an instance of the class you've just created.