Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
I can’t import the COM object that I have on my machine. Did you write that object?
I can’t import the COM object that I have on my machine. Did you write that object?
✍: Guest
You can only import your own objects. If you need to use a COM component from another developer, you should obtain a Primary Interop Assembly (PIA) from whoever authored the original object.
The answer to (5) is only partially correct. You *can* import COM objects, even if they are not your own. It is recommended that you obtain the Primary Interop from the vendor, but not required. The most common problem importing a COM DLL is that it exposes objects that form part of a separate COM DLL. You can generate interops for these additional DLLs, and then refer to them when importing the problem DLL.
2014-12-04, 2473👍, 0💬
Popular Posts:
How To Dump the Contents of a Directory into an Array? - PHP Script Tips - Working with Directoris a...
How To Wirte a Simple JUnit Test Class? This is a common test in a job interview. You should be able...
How To Use an Array as a Queue? - PHP Script Tips - PHP Built-in Functions for Arrays A queue is a s...
What is CodeDom? “CodeDom” is an object model which represents actually a source code. It is designe...
What is the difference between mysql_fetch_object() and mysql_fetch_array() functions in PHP? mysql_...