Is the uMinLite3.pas a wrong version?

Comments about application
cmx8818
Posts: 9
Joined: 17 Jun 2007 10:43

Is the uMinLite3.pas a wrong version?

Postby cmx8818 » 05 Jul 2007 10:51

Hello, Miha

When I compile siMail_src_0.9.5.1285, a very import error occured:
procedure TMaillistViewMailboxViews.GenerateList;
...
could not be compiled sucessfully, for there are so many errors existed. FMailView.DbFile(TLite3Db) dosen't own two very important methods: DETACHFILE & ATTACHFILE, as well as lost porperty: FileName, I am afraid that you gave a wrong version of minDB package.

Could you please give the right version of minDB package?

Best regards

Michael Chan

mvrhov
Site Admin
Site Admin
Posts: 884
Joined: 12 Jul 2003 21:15
Location: Kranj, Slovenia
Contact:

Re: Is the uMinLite3.pas a wrong version?

Postby mvrhov » 05 Jul 2007 19:04

It's not that hard all you'd need to to is check the sqlite documentation.

Code: Select all

function TLite3Db.AttachFile(const dbName, attachName: String): Boolean;
begin
  Result := innerResultSet.FormatQuery('ATTACH DATABASE "%u" AS %u', [dbName, attachName]);
end;

function TLite3Db.DetachFile(const attachName: String): Boolean;
begin
  Result := innerResultSet.FormatQuery('DETACH DATABASE %u', [attachName]);
end;

Regards,
Miha

cmx8818
Posts: 9
Joined: 17 Jun 2007 10:43

Re: Is the uMinLite3.pas a wrong version?

Postby cmx8818 » 06 Jul 2007 03:59

Hi, Miha

Thanks for your reply. But I still could find the Sqlite3DB documentation you mentioned. I downloaded 0.9.5.1285 full source package you uploaded in sourceforge.net, and it dosn't contained that document. I guessed you may expanded the sqlite3db unit, and forget to uploaded to sourceforge.net. Anyhow, I was amazed by your creativies and almost excellent job you have done. I believed if you persist in doing the project, many many people will be familiar with si.Mail.

Now, I have discarded o.e., si.Mail is my solely E-mail client. But I found that si.Mail could not process Chinese charset, i.e., Big, GB2312, GBK etc, but after debug the program, I think I can grab the bugs for you.

And, I want to donate some money, but as you know, I lived in Mainland, China, foreign-currency conoly policy is very strict in my country. I had consult several banks, telling them I want to remit 50 USD to SLOVENIA, they tell my that I can only remit to my direct-relatives, and to do that I have to show our relationship certification. Alias! I hope you can apply a master card and past the account no in forum.

si.Mail is a good open source project.

Regards

Michael Chan

mvrhov
Site Admin
Site Admin
Posts: 884
Joined: 12 Jul 2003 21:15
Location: Kranj, Slovenia
Contact:

Re: Is the uMinLite3.pas a wrong version?

Postby mvrhov » 06 Jul 2007 07:28

Now, I have discarded o.e., si.Mail is my solely E-mail client. But I found that si.Mail could not process Chinese charset, i.e., Big, GB2312, GBK etc, but after debug the program, I think I can grab the bugs for you.

Charset in messages or in application itself? If in messages then you need iconv.dll

Regards,
Miha

cmx8818
Posts: 9
Joined: 17 Jun 2007 10:43

Re: Is the uMinLite3.pas a wrong version?

Postby cmx8818 » 06 Jul 2007 08:49

Hello, Miha

Here is my E-mail and msn:

e-mail/msn: cmx8818___NO__ @ ___SPAM___hotmail.com

You can add me to you friends' list if you like.

Looking forward to hearing from you.

Regards

Michael Chan

admin:changed msn contact/email to prevent e-mail harvesters from obtaining it.

cmx8818
Posts: 9
Joined: 17 Jun 2007 10:43

Re: Is the uMinLite3.pas a wrong version?

Postby cmx8818 » 06 Jul 2007 09:54

Hello, Miha,

This is the class TLite3DB declaration section of unit uMinLite3.pas, from where I cannot find the two procedures and 'filename' property.

type
TLite3Db = class(TMinDb)
private
FFileName: string;
function useDatabase(dbName: String): Boolean;
protected
public
constructor Create;
destructor Destroy; override;
procedure Close; override;

function Use(const dbName: String): Boolean; override;
function UseW(const dbName: WideString): Boolean; override;
function Connect(const Database: String): Boolean; override;
function ConnectW(const Database: WideString): Boolean; override;
procedure RefreshDbInfo; override;
published
end;


regards

Michael Chan


Return to “General Discusion”

Who is online

Users browsing this forum: No registered users and 1 guest