<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16490">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>guys i've been working on a port of an application
that uses the Com IPersist Interface , one of its procedures seems to be wrong ,
</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Function GetClassId(clsid:TClsId):HResult;
StdCall;</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>yet i believe it should be</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Function GetClassId(out clsid:TClsId):HResult;
StdCall</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>i've checked the MSDN and it says it should be
returning a value -</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>its defined in C++ as </FONT></DIV>
<DIV><PRE>HRESULT GetClassID([<SPAN style="COLOR: blue">out</SPAN>] CLSID *pClassID);
</PRE></DIV><FONT size=2 face=Arial>
<DL>
<DT><EM>pClassID</EM> [out] </DT>
<DD>
<P>A pointer to the location that receives the CLSID on return. The CLSID is a
globally unique identifier (GUID) that uniquely represents an object class
that defines the code that can manipulate the object's data.</P></DD></DL>
<DIV>Delphian</DIV>
<DIV> </DIV>
<DIV>Ps if i change this in the code , its the FPC that needs to be re complied
?</DIV>
<DIV> </DIV>
<DIV></FONT> </DIV></BODY></HTML>