Can someone port this to 64 bits? The 32bit assembler and 64bit assembler are quite different, other registers, other data sizes and so on. Also the inline
asm in Win64 cannot be used with pascal. It's possible to have a procedure with an
asm block, but it's not possible to combine the
asm block with pascal statements.
Errors:
[DCC Error] ZENDAPI.pas(1078): E2197 Constant object cannot be passed as var parameter
[DCC Error] ZENDAPI.pas(1877): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(1890): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(1891): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(1892): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(1897): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(1899): E2116 Invalid combination of opcode and operands
[DCC Error] ZENDAPI.pas(2513): E1025 Unsupported language feature: '
ASM'
[DCC Error] ZENDAPI.pas(2513): E2029 ';' expected but '
ASM' found
[DCC Error] ZENDAPI.pas(2514): E2003 Undeclared identifier: 'global_value'
[DCC Error] ZENDAPI.pas(2515): E2003 Undeclared identifier: 'tsrmls_dc'
[DCC Error] ZENDAPI.pas(2518): E2003 Undeclared identifier: 'global_ptr'
[DCC Error] ZENDAPI.pas(2519): E2029 '.' expected but ';' found
[DCC Error] ZENDAPI.pas(54): E2065 Unsatisfied forward or external declaration: 'AnsiFormat'
[DCC Error] ZENDAPI.pas(140): E2065 Unsatisfied forward or external declaration: 'zend_hash_add_or_update'
[DCC Error] ZENDAPI.pas(177): E2065 Unsatisfied forward or external declaration: 'zend_hash_init'
[DCC Error] ZENDAPI.pas(180): E2065 Unsatisfied forward or external declaration: 'zend_hash_init_ex'
[DCC Error] ZENDAPI.pas(354): E2065 Unsatisfied forward or external declaration: '_zval_copy_ctor'
[DCC Error] ZENDAPI.pas(356): E2065 Unsatisfied forward or external declaration: '_zval_dtor'
[DCC Error] ZENDAPI.pas(801): E2065 Unsatisfied forward or external declaration: 'DupStr'
[DCC Error] ZENDAPI.pas(820): E2065 Unsatisfied forward or external declaration: 'GetCompilerGlobals'
[DCC Error] ZENDAPI.pas(821): E2065 Unsatisfied forward or external declaration: 'GetExecutorGlobals'
[DCC Error] ZENDAPI.pas(822): E2065 Unsatisfied forward or external declaration: 'GetAllocGlobals'
[DCC Error] ZENDAPI.pas(838): E2065 Unsatisfied forward or external declaration: 'object_init'
[DCC Error] ZENDAPI.pas(840): E2065 Unsatisfied forward or external declaration: 'Z_LVAL'
[DCC Error] ZENDAPI.pas(841): E2065 Unsatisfied forward or external declaration: 'Z_BVAL'
[DCC Error] ZENDAPI.pas(842): E2065 Unsatisfied forward or external declaration: 'Z_DVAL'
[DCC Error] ZENDAPI.pas(843): E2065 Unsatisfied forward or external declaration: 'Z_STRVAL'
[DCC Error] ZENDAPI.pas(844): E2065 Unsatisfied forward or external declaration: 'Z_STRLEN'
[DCC Error] ZENDAPI.pas(845): E2065 Unsatisfied forward or external declaration: 'Z_ARRVAL'
[DCC Error] ZENDAPI.pas(846): E2065 Unsatisfied forward or external declaration: 'Z_OBJ_HANDLE'
[DCC Error] ZENDAPI.pas(847): E2065 Unsatisfied forward or external declaration: 'Z_OBJ_HT'
[DCC Error] ZENDAPI.pas(848): E2065 Unsatisfied forward or external declaration: 'Z_OBJPROP'
[DCC Fatal Error] PHPCommon.pas(234): F2063 Could not compile used
unit 'ZendAPI.pas'
http://code.google.com/p/php5delphi/downloads/list
Edit:
Is English a problem?