Re: Sending email from a Delphi application
- From: Rob Kennedy <me3@xxxxxxxxxxx>
- Date: Fri, 25 Aug 2006 13:36:16 -0500
Terry Russell wrote:
//works up to <=464 max parameter length; ( maybe OS /version variable)
Definitely version-dependent.
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.
--
Rob
.
- Follow-Ups:
- Re: Sending email from a Delphi application
- From: Terry Russell
- Re: Sending email from a Delphi application
- 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
- Sending email from a Delphi application
- Prev by Date: Re: Sending email from a Delphi application
- Next by Date: Re: Sending email from a Delphi application
- Previous by thread: Re: Sending email from a Delphi application
- Next by thread: Re: Sending email from a Delphi application
- Index(es):