The information in this article applies to:
SUMMARYThe "Making Calls from Borland Turbo Pascal Programs" sample in Appendix E of the "Microsoft Mouse Programmer's Reference" does not compile with Turbo Pascal versions 5.0 and 6.0. MORE INFORMATION
The CpuReg data structure needs to be defined as "Registers"
variables. The semicolons need to be removed from the END lines that
immediately precede ELSE. Finally, finding the segment and offset of
the pointer of the address of the user array or subroutine (functions
9,12,20,22,23,and 24) needs to be done outside of this procedure.
Passing the first element of the array or the start point of the
subroutine into the procedure, then calling the "ofs" and "seg"
functions in the procedure doesn't seem to work. This is due to how
the variables get dereferenced when passed into a procedure.
The Borland product included here is manufactured by a vendor
independent of Microsoft; we make no warranty, implied or otherwise,
regarding this product's performance or reliability.
Additional query words: 3rdparty Programming docerr
Keywords : |
Last Reviewed: December 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |