程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> Delphi >> AXScript.pas,從官方站點找到的IActivsScript接口

AXScript.pas,從官方站點找到的IActivsScript接口

編輯:Delphi

  {unti AXScript v.1.0 05/28/97 - converted header file for Microsoft ActiveScript.

  Original conversion of the ActiveScript header by David Zajac ([email protected])
  for Delphi 2.x.

  ModifIEd by Brian Dupras ([email protected]) for Delphi 3.0 using interfaces
  instead of classes (which was necessary for D2).

  This unit is released to the public.  No warrenty or guarentee of *anything*
  is expressed or implIEd.  Use this code at your own risk - any damage is your
  own fault for trusting me.  If you find any error in this code, fix it.  If
  you're nice, let me know about the error so I can fix it, too.

  This code has to date (May 28, 1997) only been tested for creating a host for
  ActiveScript.  I have not trIEd creating a scripting engine with it (and probably
  never will).  But I've been able to host both MS JScript and MS VBScript.

  Good luck,
      Brian Dupras  5/28/97

  ----------------------------------------------------------------------------------

  Ahh..updates.  I've updated this unit slilghtly, and created a helper unit called
  (and aptly so) AXScriptHelp.  The only major additions were those to support
  MS IE4.  The other updates to this unit were minor - a few slight type differences
  and some parameter name changes.  Mostly cosmetic stuff.

  Again, Good luck,

  Brian 7/6/97

  
  By the way, JScript, VBScript and ActiveScript are registered trademarks of
  Microsoft Corporation.

  
  ----------------------------------------------------------------------------------
  More updates still.  Thank you Gary Warren King for noticing that I'm an idiot.

  The identifIErs : SCRIPTTHREADID_CURRENT, SCRIPTTHREADID_BASE, and
  SCRIPTTHREADID_ALL were originally thought to be C++ MacROS.  Upon second look,
  however, they're not Macros, they're #define constants that typcast the values
  -1, -2, and -3 to the #typdef SCRIPTTHREADID.  Looking into another's activescript
  conversion confirmed this, so the change has been made and duely noted.

  We'll call this version 1.1 of the ActivScp.h conversion. 

  Brian Dupras  8

[1] [2] [3] [4] [5] [6] [7] [8] [9] 下一頁

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved