<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><BR><BR>
<HR id=stopSpelling>
<BR>
> From: dmitry@codeweavers.com<BR>> To: leslie_alistair@hotmail.com<BR>> CC: wine-devel@winehq.org<BR>> Subject: Re: midl question<BR>> Date: Thu, 27 Mar 2008 19:50:34 +0800<BR>> <BR>> "Alistair Leslie-Hughes" <leslie_alistair@hotmail.com> wrote:<BR>> <BR>> > In an IDL file I need to define the following<BR>> > typedef HRESULT (__stdcall *FExecuteInAppDomainCallback) (void* cookie);<BR>> > <BR>> > How do i get midl to understand what __stdcall is defined to?<BR>> <BR>> indexsrv.idl does:<BR>> <BR>> cpp_quote("struct tagTEXT_SOURCE;")<BR>> cpp_quote("typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);")<BR> <BR>Hi Dmitry,<BR>
This isnt going to work for me. Here is more information that I should of included in the first email.<BR>
<BR>interface ICLRRuntimeHost : IUnknown<BR>
...<BR>
HRESULT ExecuteInAppDomain([in] DWORD dwAppDomainId,<BR> [in] FExecuteInAppDomainCallback pCallback,<BR> [in] void* cookie);<BR>
...<BR>
So FExecuteInAppDomainCallback has to be defined or I will get compile errors.<BR>
<BR>
Best Regards<BR>
Alistair Leslie-Hughes<BR><br /><hr />Find out: SEEK Salary Centre <a href='http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau%2Fcareer%2Dresources%2Fsalary%2Dcentre%2F%3Ftracking%3Dsk%3Ahet%3Asc%3Anine%3A0%3Ahot%3Atext&_t=764565661&_r=OCT07_endtext_salary&_m=EXT' target='_new'>Are you paid what you're worth? </a></body>
</html>