Re: Sending email from a Delphi application
- From: "Terry Russell" <trochilus@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 26 Aug 2006 07:48:51 +0930
"Rob Kennedy" <me3@xxxxxxxxxxx> wrote in message
news:4l8u8vFr27tU1@xxxxxxxxxxxxxxxxx
Terry Russell wrote:
//works up to <=464 max parameter length; ( maybe OS /version variable)
Definitely version-dependent.
2026 on xp, which is almost useful
res:=shellexecute(form1.handle,'open',pchar(parameter),nil,nil,SW_SHOWNORMAL);
if res <=32 then raiselastwin32error;
ShellExecute is not documented to set the last-error code. Rather, it
returns the relevant error code directly.
correct, the raise after res <=32 may have misled op
I suppose I used it for convenience in the original, it checked for length
before so should never have got that far
cutnpasteandcrop at 1:44am never works
raise should give the same errorcode
.
- References:
- Sending email from a Delphi application
- From: DIKonsult
- Re: Sending email from a Delphi application
- From: John
- Re: Sending email from a Delphi application
- From: DIKonsult
- Re: Sending email from a Delphi application
- From: Terry Russell
- Re: Sending email from a Delphi application
- From: Rob Kennedy
- Sending email from a Delphi application
- Prev by Date: Re: Sending email from a Delphi application
- Next by Date: Delphi Graphics and Game Programming.chm
- Previous by thread: Re: Sending email from a Delphi application
- Next by thread: Re: Sending email from a Delphi application
- Index(es):