Hi,
I am new to ASP?
Can we use Api calls in ASP,
Gary
Printable View
Hi,
I am new to ASP?
Can we use Api calls in ASP,
Gary
No you cannot directly use API calls though ASP.
But, if you create a VB DLL (ActiveX DLL) then you can use API calls in this. Then use Server.CreateObject("myDLLName.myClassName") to access the class functions and procedures with your API calls.
Be careful what you do though, as the IIS service will need to be restarted each time you want to re-register the ActiveX DLL. This makes development on a local IIS service a must!
If the scripting language you are using with ASP can make API calls, then you can make API calls with ASP. VBScript cannot, Perlscript can (with the Win32 modules).