rt
解决方案 »
- 请教:如何实现以五十分之一的机率去做一件事呢?
- timage如何显示blob中的图象
- 高手指点:如何将Delphi7中的程序转为Delphi 2005或Delphi2006? 谢谢
- 请教一个关于字符串的处理办法(高分求助)
- 请教一个指针小问题!
- 我在用Checklistbox当内容过多时,怎样让它自动出现右边滚动条.急...
- TADOTable连接一个表,为什么在启动是报异常
- 最近一个项目,有复杂的财务报表,我不想用Excel了,不知其它的哪个报表组件好?
- 听说IT行业的男人结婚后只能生女儿,有这种说法吗?
- 怎么在DBGRID中实现下拉框??在线等待高手!!!
- 如何实现这样的问题?
- 如何把鼠标位置的象素值转化成cm?
就可以加进来了
头文件到不知道行不行
$L a.H
可能要在delphi中重新写过,你试试看好了
Link object fileType Parameter
Syntax {$L filename}
{$LINK filename}
Scope Local
ResThe $L parameter instructs the compiler to link the named file with the program or unit being compiled. The $L directive is used to link with code written in other languages for procedures and functions declared to be external. The named file must be an Intel relocatable object file (.OBJ file). The default extension for filename is .OBJ. If filename does not specify a directory path, then, in addition to searching for the file in the same directory as the current module, Delphi searches in the directories specified in the Search path input box on the Directories/Conditionals page of the Project|Options dialog box (or in the directories specified in the -O option on the DCC32 command line).To specify a file name that includes a space, surround the file name with single quotation s: {$L 'My file'}.
For further details about linking with assembly language, see online Help.我想是不行的,$L 的文件是.obj类型的
头文件我是没有试过
头文件我是没有试过
在unit1.pas 的头一行中写:{$L hello.lib}
编译出错:
[Error] unit1.pas(26): Bad object file format: 'C:\lib\hello.lib'