[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Aspell-user] Problem using delphi unit/demo project
From: |
isaac |
Subject: |
[Aspell-user] Problem using delphi unit/demo project |
Date: |
Thu, 3 Nov 2005 13:39:26 -0600 (CST) |
User-agent: |
SquirrelMail/1.4.3a |
I am having several of problems with the Delphi unit and demo project.
In the Delphi unit it appeared that the function LinkFunctions was meant
to return True when it had successfully loaded all DLL procedures. This
wasn't the case, so I added a Result := true; line at the end.
In the demo project, in order to have LoadAspell find the installed ASpell
library I changed the call in CreateForm to this:
if not LoadAspell('') then begin
ShowMessage('Could not load ASpell.');
end;
The library is loaded and as I trace through the program, various
functions are called successfully from the DLL.
So far so good, but the demo is now giving AVs in the function on line 358
of GUIMain.pas:
then s:=s+' '+key_info.def;
The debugger says key_info.def = ''
I am not really familiar with using PChar and such, so I don't know what
might be causing this problem. The value appears to be properly assigned,
but concatenation fails. I have tried various casts and checks but I can't
get it. Any help would be appreciated.
I am using Delphi 2005 and have the latest ASpell from the site,
aspell-15.dll, installed.
-Isaac
http://blueapples.org
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Aspell-user] Problem using delphi unit/demo project,
isaac <=