<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.6000.16544" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN><FONT face=Arial color=#0000ff> </FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<BLOCKQUOTE class=gmail_quote dir=ltr
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr><SPAN><FONT face=Arial color=#0000ff>AFAIK, the use of constref
for cdecl parameters is wrong in
libnotify.pas.</FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV class=gmail_quote dir=ltr><FONT face=Arial color=#0000ff
size=2></FONT><BR>Indeed that was the problem. So what does constref is used
for ?!<BR><BR>Thanks Ludo<BR> </DIV>
<BLOCKQUOTE class=gmail_quote dir=ltr
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV><SPAN class=HOEnZb><FONT color=#888888>
<DIV dir=ltr><SPAN><FONT
color=#000000></FONT></SPAN> </DIV></DIV></BLOCKQUOTE></BLOCKQUOTE>
<DIV class=gmail_quote dir=ltr><SPAN><SPAN class=718361916-14122011><FONT
color=#000000>Constref is passing a value by its reference (as in var
paramter) with the promise that the callee won't change it. In this
case you want to pass the pchar and not a pointer to the pchar
(ppchar).</FONT></SPAN></SPAN></DIV>
<DIV class=gmail_quote dir=ltr><SPAN><SPAN class=718361916-14122011><FONT
color=#000000></FONT></SPAN></SPAN> </DIV>
<DIV class=gmail_quote dir=ltr><SPAN><SPAN class=718361916-14122011><FONT
color=#000000>Ludo</FONT></SPAN></SPAN></DIV>
<DIV class=gmail_quote dir=ltr></FONT><SPAN><SPAN class=718361916-14122011><FONT
face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN></SPAN> </DIV></BODY></HTML>