当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: { ** $Id: lua.h,v 1.175b 2003/0
 

 

    摘要:下面的函数用来压缩access数据库 需要增加comobj单元function compactdatabase(afilename,apassword:string):boolean;//压缩与修复数据库,覆盖源文件const sconnectionstring = provider=microsoft.jet.oledb.4.0;data source=%s; +jet oledb:databa......
 ·simple    »显示摘要«
    摘要: ......


lua头文件的pas翻译lua.h

  {

  ** $id: lua.h,v 1.175b 2003/03/18 12:31:39 roberto exp $ 【程序编程相关:一个更加强大易用的XML库 -- Nat

【推荐阅读:用DELPHI进行NT、2000、200

  ** lua - an extensible extension language 【扩展信息:用delphi操作INI文件

  ** tecgraf: computer graphics technology group, puc-rio, brazil

  ** http://www.lua.org mailto:info@lua.org

  ** see copyright notice at the end of this file

  }

  {

        this .h header file is translated by melice

  }

unit lua;

interface

const

  luadll = lualibdll.dll;

type

  lua_state = pointer;

  int = integer;

  size_t = int;

  va_list = int;

const

  slua_version = lua 5.0.2;

  slua_copyright = copyright (c) 1994-2004 tecgraf, puc-rio;

  slua_authors = r. ierusalimschy, l. h. de figueiredo & w. celes;

  { option for multiple returns in `lua_pcall and `lua_call }

  lua_multret = -1;

  {

  ** pseudo-indices

  }

  lua_registryindex = -10000;

  lua_globalsindex = -10001;

  //  #define lua_upvalueindex(i) (lua_globalsindex-(i))

    { error codes for `lua_load and `lua_pcall }

  lua_errrun = 1;

  lua_errfile = 2;

  lua_errsyntax = 3;

  lua_errmem = 4;

  lua_errerr = 5;

  //  typedef struct lua_state lua_state;

type

  lua_cfunction = function(l: lua_state): int;

  {

  ** functions that read/write blocks when loading/dumping lua chunks

  }

  lua_chunkreader = function(l: lua_state; ud: pointer; sz: size_t): pchar;

  lua_chunkwriter = function(l: lua_state; p: pointer; sz: size_t; ud: pointer):

    int;

  {

  ** basic types

  }

const

  lua_tnone = -1;


...   下一页
 ·rtf2html convertor     »显示摘要«
    摘要:好久没有在blog上写文章了,最近好忙啊,加班加的人郁闷之极。这几天碰到一个棘手的问题,就是在对rtf格式的文件转换成html格式的文件的时候出现了一些莫名奇妙的错误。具体的情况是这样的:delphi写的应用程序客户端调用webservice的一个方法。这个webservice是在.net环境下提供的,iis作为载体。在webservice中调用一个com,该com又调用一个实现了rtf2html......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE