note 96170 added to class.dotnet

From: Date: Fri, 12 Feb 2010 01:46:38 +0000
Subject: note 96170 added to class.dotnet
Groups: php.notes 
Request: Send a blank email to php-notes+get-165895@lists.php.net to get a copy of this message
First, I hit the same mine: "... Failed to instantiate .Net object [Unwrapped, QI for IDispatch] [0x80004002] No such interface supported ..." In order to load the assembly and class in it successfully, I had to change my AssemblyInfo.cs file regarding the visibility of the types in it. // some code above // This sets the default COM visibility of types in the assembly to invisible. // If you need to expose a type to COM, use [ComVisible(true)] on that type. [assembly: ComVisible(true)] // some code below ---- Server IP: 69.147.83.197 Probable Submitter: 90.198.237.159 ---- Manual Page -- http://www.php.net/manual/en/class.dotnet.php Edit -- https://master.php.net/note/edit/96170 Del: integrated -- https://master.php.net/note/delete/96170/integrated Del: useless -- https://master.php.net/note/delete/96170/useless Del: bad code -- https://master.php.net/note/delete/96170/bad+code Del: spam -- https://master.php.net/note/delete/96170/spam Del: non-english -- https://master.php.net/note/delete/96170/non-english Del: in docs -- https://master.php.net/note/delete/96170/in+docs Del: other reasons-- https://master.php.net/note/delete/96170 Reject -- https://master.php.net/note/reject/96170 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#165895) next »