🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #154788

Re: [Dialog] Mail to links don't open new mail

#154788
From: Marcus Mönnig
Date: Fri, 27 Aug 2004 14:34
30 lines
3203 bytes
*Copelandia Cyanescens*, 27 Aug. 04, 16:15:

>> Thanks Serena and Copelandia. The issue is fixed for Beta 36.
> 
> Dandy. :)
> 
> Would you mind offering a rough description of what the problem was?
> I've seen it before in other software, even occasionally in dedicated
> email clients like older versions of Eudora.

I don't think that this cause of the problem will be found in other
programs, but this was it in Dialog: 
Upon startup Dialog checks if another instances is running, gives focus to
it and passes any parameters that it received (the "mailto:.." string) to
the already running instances with a WM_COPYDATA message. The target of this
message is the main window of the running instance. The code that tries to
find that window looks at the classname of all windows. I had hardcoded the
classname it has to find to "Tfrm40tdMain.UnicodeClass", however on Windows
95/98/ME it is just "'Tfrm40tdMain", because these OS's are not Unicode
enabled and so the Dialog windows don't get subclassed to Unicode versions.
Thus the target window for the WM_COPYDATA was never found on these OS's and
the mailto parameter was never sent to the already running instance.

That should clear things up a bit. :-)

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Technical Details
Message-ID: <1vmvqa96liix0$.rzex6t13pg4g.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
References: <1fdcvty3g8o6w.3cwdqdaauxsi.dlg@40tude.net> <176cn1xj2ppjn.gu0xrb2yro49.dlg@40tude.net> <1migkjivoow33.1hy2s0p18mnp6$.dlg@40tude.net> <1eftt98unvinu.1wkolyglpti6n$.dlg@40tude.net> <zeiv6q11e1xy.dsexzf426xra.dlg@40tude.net> <vmthquxe1h71.1c4nb419emyk9.dlg@40tude.net> <1nzd5ycjb8eci$.1g8usafrxw82$.dlg@40tude.net> <gjmvf3kq0s1u@x02x67invalid.net>

Show Full Headers
Complete Article Headers
Message-ID: <1vmvqa96liix0$.rzex6t13pg4g.dlg@40tude.net>
Subject: Re: [Dialog] Mail to links don't open new mail
Date: Fri, 27 Aug 2004 16:34:23 +0200
From: Marcus Mönnig <usenet-aug04@40tude.com>
References: <1fdcvty3g8o6w.3cwdqdaauxsi.dlg@40tude.net> <176cn1xj2ppjn.gu0xrb2yro49.dlg@40tude.net> <1migkjivoow33.1hy2s0p18mnp6$.dlg@40tude.net> <1eftt98unvinu.1wkolyglpti6n$.dlg@40tude.net> <zeiv6q11e1xy.dsexzf426xra.dlg@40tude.net> <vmthquxe1h71.1c4nb419emyk9.dlg@40tude.net> <1nzd5ycjb8eci$.1g8usafrxw82$.dlg@40tude.net> <gjmvf3kq0s1u@x02x67invalid.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail
Newsgroups: news.software.readers
Organization: T-Online
Lines: 30
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.t-online.com 1093617296 07 7970 ZtfAXoSlaCqLSTN0 040827 14:34:56
X-Complaints-To: usenet-abuse@t-online.de
X-ID: r2PwVrZT8e69VmsdQp39RaOrXR2eYDBj5xLDjhbDoGy4Yc5cHmXVr3
X-Now-Playing: Euphoria - Sweet Rain (Radio Paradise - eclectic intelligent
 rock - music info & listener community at radioparadise.com)
User-Agent: 40tude_Dialog/2.0.12.83 (bce107a1.270.154)
X-Face: .k.-$2:"SOnv`$+._5GWLVbo=\AYg!R'T#G[$P`Chd0T$NtF2}68aF}1gRDrxTQi']7Ldza
 n{+d:rTHS*nc<xt?o:zVx>3P$=`rx}:o1!BA'OmJn(lR=Y%mG{*T#D-B02=:Dh0138$V