Hi,
whenever trying to call the following script. I get "Invoke() failed: Type mismatch".
<?
$instance = new COM("HelloCOM.CHello") or die("error on instan. HelloCom");
$instance->SayHello("hello","world");
?>
SayHello is implemented as:
STDMETHODIMP CHello::SayHello(LPCSTR hello,LPCSTR world)
{
MessageBox(NULL,hello,world,MB_OK);
return S_OK;
}
any tips??