|
Thread: Api
-
Jul 9th, 2002, 01:38 AM
#1
Api
Hi,
I am new to ASP?
Can we use Api calls in ASP,
Gary
-
Jul 9th, 2002, 07:40 AM
#2
Fanatic Member
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!
-
Jul 9th, 2002, 10:32 AM
#3
Black Cat
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).
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|