Link to home
Start Free TrialLog in
Avatar of stribble
stribble

asked on

Trying to Convert ASP Script to DLL

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.
Avatar of stribble
stribble

ASKER

A little more info to add:

The architecture is such: default.asp calls process.asp; process.asp contains code that references the function inside the DLL as well as an include reference to the external ASP include file with the various subroutines and functions.
ASKER CERTIFIED SOLUTION
Avatar of Smallint
Smallint

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks. That's exactly what I was looking for.