<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
In D2007 + you don't need to ship the manifest. Delphi automatically
builds it in for you (unless you untick that option).<br>
<br>
Cheers<br>
Rob<br>
<div class="moz-signature">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="Robert%20Martin_files/filelist.xml">
<title>Robert Martin</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>Wild Software Ltd</o:Author>
<o:LastAuthor>Wild Software Ltd</o:LastAuthor>
<o:Revision>6</o:Revision>
<o:TotalTime>55</o:TotalTime>
<o:Created>2009-02-13T02:47:00Z</o:Created>
<o:LastSaved>2009-02-13T03:42:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>13</o:Words>
<o:Characters>77</o:Characters>
<o:Company>Wild Software Ltd</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>89</o:CharactersWithSpaces>
<o:Version>11.9999</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Table Normal";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";
        mso-ansi-language:#0400;
        mso-fareast-language:#0400;
        mso-bidi-language:#0400;}
</style>
<![endif]-->
<div class="Section1"><span style="" lang="EN-NZ"><o:p> </o:p></span>
<p class="MsoNormal"><span style="color: rgb(255, 153, 0);" lang="EN-NZ"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="" lang="EN-NZ"><o:p> </o:p></span></p>
</div>
</div>
<br>
On 16/02/2010 10:13 p.m., John Bird wrote:
<blockquote cite="mid:EF2CA8A87BA54127A1D3A3813015B4BF@JohnSony2"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 8.00.6001.18882">
<style></style>
<div><font size="2" color="#000000" face="Arial">Did the D2007
version have the XP manifest?.....on the same machine (XP onwards) a
program using XPManifest does invoke the later version of common
controls in COMCTRL32.DLL, so it is possible thats where the difference
comes from.</font></div>
<div> </div>
<div><font size="2" color="#000000" face="Arial">Of course this is
only plausible if one of them was using different versions of the
controls/XP manifest.</font></div>
<div> </div>
<div><font size="2" color="#000000" face="Arial">I have noticed on
Vista that programs without the manifest still seem to get it by
default..if they are created from new with D2007. An older program
still invokes the old version of the controls even if recompiled under
d2007 (unless the XP Manifest is added).</font></div>
<div> </div>
<div>John</div>
<blockquote
style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; padding-right: 0px; margin-left: 5px; margin-right: 0px;">
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;">-----
Original Message ----- </div>
<div
style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none; -moz-background-clip: border; -moz-background-origin: padding; -moz-background-inline-policy: continuous;"><b>From:</b>
<a moz-do-not-send="true" title="Kyley@harrissoftware.com"
href="mailto:Kyley@harrissoftware.com">Kyley Harris</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>To:</b>
<a moz-do-not-send="true" title="delphi@delphi.org.nz"
href="mailto:delphi@delphi.org.nz">NZ Borland Developers Group -
Delphi List</a> </div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Sent:</b>
Tuesday, February 16, 2010 8:00 PM</div>
<div
style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal; -x-system-font: none;"><b>Subject:</b>
Re: [DUG] Is it a bug in latest version of Delphi?</div>
<div><br>
</div>
i have both versions of delphi on the same machine. ran both tests at
the same time. weird<br>
<br>
<div class="gmail_quote">On Tue, Feb 16, 2010 at 7:43 PM, Edward
Koryagin <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:ed_iv2001@yahoo.co.nz">ed_iv2001@yahoo.co.nz</a>></span>
wrote:<br>
<blockquote
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"
class="gmail_quote">Versions of comctrl32.dll ??<br>
<br>
Edward Koryagin<br>
<br>
<br>
--- On Tue, 16/2/10, Kyley Harris <<a moz-do-not-send="true"
href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>>
wrote:<br>
<br>
> From: Kyley Harris <<a moz-do-not-send="true"
href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>><br>
<div class="im">> Subject: Re: [DUG] Is it a bug in latest
version of Delphi?<br>
</div>
> To: "NZ Borland Developers Group - Delphi List" <<a
moz-do-not-send="true" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>><br>
> Received: Tuesday, 16 February, 2010, 5:03 PM<br>
<div>
<div class="h5">> the fact that it behaves different under<br>
> delphi 7 and Delphi 2007 on the same machine implies that<br>
> there is some strange mystery at work in the compiled code<br>
> that is not obvious. its not a direct problem of the<br>
> underlying windows API.<br>
><br>
> As to using the GetLastError.. <br>
> There is issue I have with relying on that<br>
> rather than the -1. The MSDN documentation states that not<br>
> all routines need to or are required to call SetLastError(0)<br>
> on success, and only set it on failure. the value -1 is what<br>
> you are supposed to analyze to determine IF you should check<br>
> GetLastError. GetLastError is not the first test. Clearly<br>
> microsoft does not intend the storage to be used for<br>
> negative values even if some appear to work.<br>
><br>
> if you rely on GetLastError rather than the -1.<br>
> you may get a true value of "3" but getlasterror<br>
> was not reset from some other call and you can get a false<br>
> fail.<br>
><br>
><br>
><br>
> On Tue, Feb 16, 2010 at 4:55 PM,<br>
> Karl Reynolds <<a moz-do-not-send="true"
href="mailto:kreynolds@chocfishsoft.co.nz">kreynolds@chocfishsoft.co.nz</a>><br>
> wrote:<br>
><br>
> On Tue, Feb 16, 2010 at 4:43 PM, Kyley<br>
> Harris <<a moz-do-not-send="true"
href="mailto:Kyley@harrissoftware.com">Kyley@harrissoftware.com</a>><br>
> wrote:<br>
><br>
> > I'll add my cents..<br>
><br>
> > under Delphi 7, getlasterror returns error 1413 as<br>
> Karl said.. under Delphi<br>
><br>
> > 2007 no errors whatsoever. whats clear is that<br>
> Getlasterror is unlreliable<br>
><br>
> > in this situation as Microsoft says, because microsoft<br>
> online help says the<br>
><br>
> > getlasterror value cannot be controlled depending on<br>
> OS and device and only<br>
><br>
> > the -1 is reliable as an answer.<br>
><br>
><br>
><br>
> Except that -1 isn't reliable because, as already<br>
> discussed, it could<br>
><br>
> be a valid data value. I would in fact expect the code<br>
> returned to<br>
><br>
> vary by OS and device (and that's what RaiseLastOSError<br>
> is for) but I<br>
><br>
> really didn't expect there to be an OS or device on<br>
> which an<br>
><br>
> LB_GETITEMDATA request out of the range of the listbox<br>
> wasn't an<br>
><br>
> error! Evidently I'm too trusting or something.<br>
><br>
><br>
><br>
> Under the circumstances, checking the bounds first seems<br>
> necessary.<br>
><br>
><br>
><br>
> Cheers,<br>
><br>
> Karl<br>
><br>
> _______________________________________________<br>
><br>
> NZ Borland Developers Group - Delphi mailing list<br>
><br>
> Post: <a moz-do-not-send="true" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
><br>
> Admin: <a moz-do-not-send="true"
href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
><br>
> Unsubscribe: send an email to <a moz-do-not-send="true"
href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a><br>
> with Subject: unsubscribe<br>
><br>
><br>
><br>
><br>
> --<br>
> Kyley Harris<br>
> Harris Software<br>
> +64-21-671-821<br>
><br>
><br>
><br>
</div>
</div>
> -----Inline Attachment Follows-----<br>
<div>
<div class="h5">><br>
> _______________________________________________<br>
> NZ Borland Developers Group - Delphi mailing list<br>
> Post: <a moz-do-not-send="true" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
> Admin: <a moz-do-not-send="true"
href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
> Unsubscribe: send an email to <a moz-do-not-send="true"
href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a><br>
> with Subject: unsubscribe<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a moz-do-not-send="true" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a moz-do-not-send="true"
href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a moz-do-not-send="true"
href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a>
with Subject: unsubscribe<br>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Kyley Harris<br>
Harris Software<br>
+64-21-671-821<br>
<p> </p>
<hr> _______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><br>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with
Subject: unsubscribe</blockquote>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
</blockquote>
</body>
</html>