How to make a COM connection
Posted: September 8th, 2012, 12:56 am
Hi there,
I'm trying for the 1st time Phalanger. Looks very good - thanks!
I'm creating a Console Application (standard).
I was trying to understand how to make a simple COM connection like traditionally on normal PHP using php_com_dotnet.dll:
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
But it hasn't the COM class so how to load (if needed) the traditional extension? there's a best way since we are under .Net?
Thanks
Ricardo
I'm trying for the 1st time Phalanger. Looks very good - thanks!
I'm creating a Console Application (standard).
I was trying to understand how to make a simple COM connection like traditionally on normal PHP using php_com_dotnet.dll:
$objApp = new COM("Outlook.Application");
$myItem = $objApp->CreateItem(olMailItem);
But it hasn't the COM class so how to load (if needed) the traditional extension? there's a best way since we are under .Net?
Thanks
Ricardo