下载了fastmm4.78,根据readme的说法,在工程文件中uses下引用了FastMM4.pas,也指定了路径,并且是放到了第一的位置,不过在编译的时候报错,
说找不到FastMM4Messages.dcu,后来我找到一个后,把两个文件都放到了工程所在的目录,倒是不报这个错,却报类似这样的错误;
[Error] FastMM4.pas(5406): Undeclared identifier: 'InvalidOperationTitle'希望哪位已经成功使用过FastMM的兄弟指点一下啊,最好能说明的详细一些,谢谢了!
library Pub;{ 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
FastMM4 in 'FastMM4.pas',
Windows,
SysUtils,
DB,
DBClient;
说找不到FastMM4Messages.dcu,后来我找到一个后,把两个文件都放到了工程所在的目录,倒是不报这个错,却报类似这样的错误;
[Error] FastMM4.pas(5406): Undeclared identifier: 'InvalidOperationTitle'希望哪位已经成功使用过FastMM的兄弟指点一下啊,最好能说明的详细一些,谢谢了!
library Pub;{ 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
FastMM4 in 'FastMM4.pas',
Windows,
SysUtils,
DB,
DBClient;
解决方案 »
- delphi群 MSN版
- 救命,C++builder转成 delphi之后 ,不正确,来帮一下忙
- 简单的打印问题,谢谢各位了!
- 怎么样通过进程的句柄的出这个进程中产生的线程及线程的句柄
- 设置属性edit1.enable:=false ,如何把edit1.text中显示的数据变成别的颜色?
- 通过BDE连接ORACLE在程序中设定密码的问题????在线给分。(user name/password)
- 在delphi中如何将数据库(paradox)进行压缩,如同fox中的pack?
- 请问怎么样在一个过程中让窗体最大化,最小化,正常
- 请问各位大侠!~~~~~~~~怎样使用JSP,我有安装了可是用不了呀 这是为什么呢!
- 大家讨论一下在filestream中删除记录的好办法
- DELPHI工程师
- 今天登录时验证码显示:88888,呵呵,高兴,散分.......
这是什么?
function InvalidGetMem(ASize: Integer): Pointer;
{$ifndef NoMessageBoxes}
var
LErrorMessageTitle: array[0..1023] of char;
{$endif}
begin
{$ifdef UseOutputDebugString}
OutputDebugString(InvalidGetMemMsg);
{$endif}
{$ifndef NoMessageBoxes}
AppendStringToModuleName(InvalidOperationTitle, LErrorMessageTitle);
ShowMessageBox(InvalidGetMemMsg, LErrorMessageTitle);
{$endif}
Result := nil;
end;