Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 13th, 2005, 03:36 AM
Registered User
 
Join Date: Dec 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default call functions of dll

Hi,

Can i call function from dll from an asp page (not COM)?

The problem is that i want the asp page to call function from dll which will be in the same library.
I could have created a com dll but it means the the web hosting company must register it on their server and they wont.

Thanks
 
Old December 13th, 2005, 06:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sure, you can. No problems. Which IDE are you using? If you are using VS .NET then simply add a refenrence to the dll/project and then include the namespace (using) where you want to use the method.

My private site, which I am currently working on consists of more than 10-15 dll's, of which some of them are actually loaded dynamically (plug-ins).

Hope it helps, Jacob.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto call VBA functions using Java kotaiah Java Basics 2 June 20th, 2007 10:13 AM
imported DLL functions in MFC atmosphere Visual C++ 0 June 4th, 2006 08:30 PM
Dynamically call javascript functions austinf Javascript 1 May 13th, 2006 07:31 AM
How to call C# COM overloaded functions from ASP? khaledriyal C# 0 October 11th, 2005 03:13 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.