<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:st1 = 
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR><!--[if !mso]>
<STYLE>v\:* {
        BEHAVIOR: url(#default#VML)
}
o\:* {
        BEHAVIOR: url(#default#VML)
}
w\:* {
        BEHAVIOR: url(#default#VML)
}
.shape {
        BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]--><o:SmartTagType name="country-region" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="City" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="place" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType 
name="PersonName" 
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
        BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
        font-family: Tahoma;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
        FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
P {
        FONT-SIZE: 12pt; MARGIN-LEFT: 0cm; MARGIN-RIGHT: 0cm; FONT-FAMILY: "Times New Roman"; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto
}
SPAN.EmailStyle17 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle19 {
        COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-US vLink=purple link=blue bgColor=white>
<DIV><FONT face=Arial size=2>I thought this was initially the case, but every 
once in a while the PreviewModal will die on the very first launch.</FONT></DIV>
<DIV><FONT face=Arial size=2>The dying on the first launch becomes much more 
frequent if I attempt to use anything like Sleep, ProcessMessages, or event 
looping through the forms to check for the existence of the form.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The odd bit is&nbsp;we never&nbsp;had this problem 
with D6.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Regards<BR>Paul McKenzie<BR>SMSS Ltd.<BR>Wellington<BR>New Zealand</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=Steve@webdata.co.nz href="mailto:Steve@webdata.co.nz">Stephen 
  Barker</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
  href="mailto:delphi@ns3.123.co.nz">NZ Borland Developers Group - Delphi 
  List</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, November 16, 2004 9:18 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [DUG] QuickReports</DIV>
  <DIV><BR></DIV>
  <DIV dir=ltr align=left><SPAN class=375544703-15112004><FONT face=Arial 
  color=#0000ff size=2>For a similar problem a while back, I recall having to 
  add a wait loop after calling showmodal and before freeing the 
  quickreport.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=375544703-15112004><FONT face=Arial 
  color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=ltr align=left><SPAN class=375544703-15112004><FONT face=Arial 
  color=#0000ff size=2>Something to do with QR still being busy after the 
  showmodal. I don't have the code at hand but can dig it up if 
  needed.</FONT></SPAN></DIV>
  <DIV dir=ltr align=left><SPAN class=375544703-15112004><FONT face=Arial 
  color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV><!-- Converted from text/plain format -->
  <P align=left><FONT face="Comic Sans MS" color=#000080 
  size=1>Regards,<BR><BR>Steve Barker<BR><FONT color=#ff8000><STRONG>Webdata 
  Ltd</STRONG></FONT><BR><STRONG><FONT color=#ff8000>ph +64 9 
  4103074</FONT></STRONG> </FONT></P>
  <DIV>&nbsp;</DIV><BR>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Paul McKenzie [mailto:paul@smss.org.nz] 
  <BR><B>Sent:</B> Monday, 15 November 2004 4:06 p.m.<BR><B>To:</B> NZ Borland 
  Developers Group - Delphi List<BR><B>Subject:</B> Re: [DUG] 
  QuickReports<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV><FONT face=Arial size=2>I appears that PreviewModal is the problem - 
  found some other info on the net that said PreviewModal was unstable - use 
  Preview.</FONT></DIV>
  <DIV><FONT face=Arial size=2>This would appear to be the case - preview works 
  fine...</FONT></DIV>
  <DIV><FONT face=Arial size=2>(I can live without the Modelness).</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>Regards<BR>Paul McKenzie<BR>SMSS Ltd.<BR>Wellington<BR>New Zealand</DIV>
  <BLOCKQUOTE 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=james@wasystems.co.nz href="mailto:james@wasystems.co.nz">James 
    Sugrue</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=delphi@ns3.123.co.nz 
    href="mailto:delphi@ns3.123.co.nz">'NZ Borland Developers Group - Delphi 
    List'</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, November 15, 2004 11:21 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [DUG] QuickReports</DIV>
    <DIV><BR></DIV>
    <DIV class=Section1>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">OK. There was an 
    issue with D6 and Quick Reports doing this. Maybe if you delete your .dcus 
    and do a&nbsp; build all? If not then try the latest version of Quick 
    Reports standard which I am pretty sure is a free 
    download.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I had this problem 
    under d6 and doing the above fixed the problem from memory. It was a couple 
    of years ago though.<o:p></o:p></SPAN></FONT></P>
    <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
    style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <DIV>
    <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
    face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
    <HR tabIndex=-1 align=center width="100%" SIZE=2>
    </SPAN></FONT></DIV>
    <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
    style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
    face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> 
    delphi-bounces@ns3.123.co.nz [mailto:delphi-bounces@ns3.123.co.nz] <B><SPAN 
    style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Paul McKenzie<BR><B><SPAN 
    style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, 15 November 2004 10:52 
    a.m.<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <st1:PersonName 
    w:st="on">NZ Borland Developers Group - <st1:place 
    w:st="on">Delphi</st1:place> List</st1:PersonName><BR><B><SPAN 
    style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [DUG] 
    QuickReports</SPAN></FONT><o:p></o:p></P></DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
    <DIV>
    <P class=MsoNormal><st1:place w:st="on"><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Delphi</SPAN></FONT></st1:place><FONT 
    face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 7 and 
    the QuickReports that comes with it</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face=Arial size=2><SPAN 
    style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This App has been upgraded from 
    D6.</SPAN></FONT><o:p></o:p></P></DIV>
    <DIV>
    <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
    style="FONT-SIZE: 12pt">Regards<BR>Paul McKenzie<BR>SMSS Ltd.<BR><st1:City 
    w:st="on"><st1:place 
    w:st="on">Wellington</st1:place></st1:City><BR><st1:country-region 
    w:st="on"><st1:place w:st="on">New 
    Zealand</st1:place></st1:country-region><o:p></o:p></SPAN></FONT></P></DIV>
    <BLOCKQUOTE 
    style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: medium none; PADDING-LEFT: 4pt; PADDING-BOTTOM: 0cm; MARGIN: 5pt 0cm 5pt 3.75pt; BORDER-LEFT: black 1.5pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: medium none">
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----- Original Message ----- 
      <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV style="font-color: black">
      <P class=MsoNormal style="BACKGROUND: #e4e4e4"><B><FONT face=Arial 
      size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">From:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
      title=james@wasystems.co.nz href="mailto:james@wasystems.co.nz">James 
      Sugrue</A> <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">To:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> <A 
      title=delphi@ns3.123.co.nz href="mailto:delphi@ns3.123.co.nz">'NZ Borland 
      Developers Group - Delphi List'</A> <o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sent:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 
      Monday, November 15, 2004 10:38 AM<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><B><FONT face=Arial size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Subject:</SPAN></FONT></B><FONT 
      face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> RE: 
      [DUG] QuickReports<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P></DIV>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">What version of 
      quickReports and what version of <st1:place 
      w:st="on">Delphi</st1:place>?<o:p></o:p></SPAN></FONT></P>
      <P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN 
      style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P>
      <DIV>
      <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
      face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
      <HR tabIndex=-1 align=center width="100%" SIZE=2>
      </SPAN></FONT></DIV>
      <P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN 
      style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT 
      face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> <A 
      href="mailto:delphi-bounces@ns3.123.co.nz">delphi-bounces@ns3.123.co.nz</A> 
      [mailto:delphi-bounces@ns3.123.co.nz] <B><SPAN 
      style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Paul 
      McKenzie<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Monday, 15 
      November 2004 10:22 a.m.<BR><B><SPAN 
      style="FONT-WEIGHT: bold">To:</SPAN></B> Delphi List - Delphi<BR><B><SPAN 
      style="FONT-WEIGHT: bold">Subject:</SPAN></B> [DUG] 
      QuickReports</SPAN></FONT><o:p></o:p></P></DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt"><o:p>&nbsp;</o:p></SPAN></FONT></P>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have an App that Launches 
      a&nbsp; QuickReport (PreviewModal) - this works fine except that if the 
      user Opens &amp; Closes several times approx 4-5 the QuickReport will 
      generate an AV.</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This, according to the Net, is 
      to be expected :-() </SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The solutions appear to 
      be&nbsp; pause the App for a little bit 
      ...</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I tried Sleep this made it 
      worse - the QuickReport would cause an AV after 1-2 Opens &amp; 
      Closes</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I am using the standard 
      PreviewModal to let the users display and print the Report - I don't want 
      to try writing my own especially as I may end up with the same 
      problems...</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any 
      ideas</SPAN></FONT><o:p></o:p></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">&nbsp;<o:p></o:p></SPAN></FONT></P></DIV>
      <DIV>
      <P class=MsoNormal><FONT face=Arial size=2><SPAN 
      style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards<BR>Paul 
      McKenzie<BR>SMSS Ltd.<BR><st1:place w:st="on"><st1:City 
      w:st="on">Wellington</st1:City></st1:place><BR><st1:place 
      w:st="on"><st1:country-region w:st="on">New 
      Zealand</st1:country-region></st1:place></SPAN></FONT><o:p></o:p></P></DIV>
      <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT 
      face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
      <HR align=center width="100%" SIZE=2>
      </SPAN></FONT></DIV>
      <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN 
      style="FONT-SIZE: 12pt">_______________________________________________<BR><st1:place 
      w:st="on">Delphi</st1:place> mailing 
      list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV>
    <P>
    <HR>

    <P></P>_______________________________________________<BR>Delphi mailing 
    list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE><BR>
  <P><FONT size=2>---<BR>Incoming mail is certified Virus Free.<BR>Checked by 
  AVG anti-virus system (http://www.grisoft.com).<BR>Version: 6.0.792 / Virus 
  Database: 536 - Release Date: 9/11/2004<BR></FONT></P>
  <P><FONT face=Arial size=2></FONT></P>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Delphi mailing 
  list<BR>Delphi@ns3.123.co.nz<BR>http://ns3.123.co.nz/mailman/listinfo/delphi<BR></BLOCKQUOTE></BODY></HTML>