c:\aaa.dll was loaded,but the dllRegisterServer entry point was not found.
DllRegisterServer may not be exported,or acorrupt version of c:\aaa.dll may be in memory.
consider using pview to detect and remove it.我用Delphi写得Dll,想用VB调用可是注册失败!大概是说找不到入口点。下面这个最简单的Dll都有上面的问题!!!解决了立马给分。
library Project1;{ Important note about DLL memory management: ShareMem must be the
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. }uses
SysUtils,
Classes;function AAA(A:integer):integer;stdcall;
begin
result:=A;
end;
exports
AAA;{$R *.res}begin
end.
DllRegisterServer may not be exported,or acorrupt version of c:\aaa.dll may be in memory.
consider using pview to detect and remove it.我用Delphi写得Dll,想用VB调用可是注册失败!大概是说找不到入口点。下面这个最简单的Dll都有上面的问题!!!解决了立马给分。
library Project1;{ Important note about DLL memory management: ShareMem must be the
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. }uses
SysUtils,
Classes;function AAA(A:integer):integer;stdcall;
begin
result:=A;
end;
exports
AAA;{$R *.res}begin
end.
解决方案 »
- 用C#做了一個web services後,想用dephi做一個客戶端進行調用,功能沒有錯誤,但輸入中文出現亂碼
- 一个初级的查询问题
- interbase,如何实现在程序中将gdb文件拷入另一处?
- 菜鸟要学adodataset 问一些小问题!
- 有时候数据库连接出错的问题!!超急!!!如能解决1000分相送!
- >>>> 批处理方式下,调用UpdateBatch怎么跟踪每一条记录?
- 关于DCom连接的三层结构体系的网络配置,给分一定给分(在线等)
- 为何我将memo.text 中的内容保存到数据库后为乱吗 ?
- 如何用query组件对数据库进行插入,删除和修改?
- 如何在DELPHI中同一个表单中写一次就可控制回车键?
- 用过Tdbgrideh之类的控件的帮忙啊~~~~~
- deiphl3如何连接oracle?
library ThisServer;uses
ComServ,
AppServer_TLB in 'AppServer_TLB.pas',
RDMImpl in 'RDMImpl.pas' {ThisServerRDM: TDataModule} {ThisServerRDM: CoClass},
ThisConsts in '..\Public\ThisConsts.pas',
EventConsts in '..\Public\EventConsts.pas';{$R *.TLB}{$R *.RES}exports
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterServer;begin
end.