Trying to Convert ASP Script to DLL
Posted on 2003-11-20
I am trying to convert ASP code into a DLL.
The ASP file is a large function and it contains several steps, some of which call other subroutines and functions located in a separate include file elsewhere.
I moved the code into Visual Studio, changed it to a public function, and added As String to the Dims. When I try to make the DLL, I get an error "Sub or function not defined," and it points to the first subroutine that exists in the separate include. What do I need to do to get it compiled? I would prefer not to copy the subs and functions into the DLL itself, but this is my first DLL, and I'm not sure how to reference external files. Any help would be appreciated. Thanks.