用delphi2007写了个DLL,libray test;uses
sharemem,
sysutils,
classes,
activex;
function getstr:string;
begin
result:='helll';
end;
exports
getstr;begin
end;这样也会有错误。有没有朋友做过。
sharemem,
sysutils,
classes,
activex;
function getstr:string;
begin
result:='helll';
end;
exports
getstr;begin
end;这样也会有错误。有没有朋友做过。
解决方案 »
- 方法的重写问题
- 控件Ehlib3安装时提示: File not found: 'DBSumLst.dcu',请问这是为什么??
- 没人回答的问题!!!已知消息框的title,如何得到消息框中的文本?
- 怎样连接一个vfp数据表
- 熟悉delphi的高手请进来
- 小问题,大哥们帮帮我……
- 一个数据库处理的问题,请马上帮忙,急用!
- 请教高手:ADOConnection 连接问题 ...请多多指教,在线等...
- 论坛的互动性没有聊天室强,建议搞几个专门的聊天室,供大家在线即时探讨问题,这样交流更快
- 怎样遍历一个目录下的所有文件?
- DBGridEh使用动态数据集后设置Footer字段,但计算结果总是零
- 一个关于WideString和PByteArray的问题,请教大家.
first unit in your library's USES clause AND your project's (select
Project-View Source) USES clause if your DLL exports any procedures or
functions that pass strings as parameters or function results. This
applies to all strings passed to and from your DLL--even those that
are nested in records and classes. ShareMem is the interface unit to
the BORLNDMM.DLL shared memory manager, which must be deployed along
with your DLL. To avoid using BORLNDMM.DLL, pass string information
using PChar or ShortString parameters.
no use string;