devxlogo

Call a DLL From ASP

Call a DLL From ASP

Question:

I have a DLL called math911.dll and a function called a101.

Private objM As MATH911.questionsSet objM = New MATH911.questions'use the functionCall objM.a101(level, TOPlevel, tipe, problem, ans, cpt, INSTRUCTIONS, AMT, LEAST, x(), g$(), k())Pbox.print problem

How can I call the function in the DLL from an Active Server Page (ASP) and print the problem in the picture box in the OCX?

Answer:

You will need to make some changes. To use your code in ASP, you would have to rewrite it like this:

>

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist