Results 1 to 3 of 3

Thread: Api

  1. #1
    champgary
    Guest

    Api

    Hi,
    I am new to ASP?
    Can we use Api calls in ASP,
    Gary

  2. #2
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810
    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!
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  3. #3
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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
  •  



Click Here to Expand Forum to Full Width