dcom

What is the closest thing to Windows COM/DCOM in the Linux world?

末鹿安然 提交于 2019-12-02 22:26:40
Anything higher-level, and more comprehensive than pipes/sockets? Yes, there are lots of things, but there isn't one as "Standard" as COM/DCOM. At least, in Windows, COM / DCOM are used by "Windowsish" stuff, and other RPC mechanisms are used by un-"Windowsish" stuff. Linux doesn't have anything like that, instead things which need higher level RPC protocols typically use whatever their language provides, or a specific library which best suits an app's needs. Examples of that would be RMI in Java, Python's "pyro" module, etc, which will provide (some) functional parity with DCOM. Corba is a

Server Word automation permissions (some answers and some questions)

余生颓废 提交于 2019-12-02 18:51:41
问题 I am attempting to use word automation to count the number of pages in a word document. So far i have faced these errors: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. Word stuck when opening a document. My resolution at the moment and steps i took so far are: Change registry key [HKEY_CLASSES_ROOT\AppID\WINWORD.EXE] from {A86A40B3-0008-4D41-975C-BB586C7121E3} to {00020906-0000-0000-C000

Server Word automation permissions (some answers and some questions)

☆樱花仙子☆ 提交于 2019-12-02 09:32:36
I am attempting to use word automation to count the number of pages in a word document. So far i have faced these errors: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005. Word stuck when opening a document. My resolution at the moment and steps i took so far are: Change registry key [HKEY_CLASSES_ROOT\AppID\WINWORD.EXE] from {A86A40B3-0008-4D41-975C-BB586C7121E3} to {00020906-0000-0000-C000-000000000046} . In DCOM config DCOMCNFG.EXE made the following changes: In "Microsoft Word Application" displayed

DCOM server and client both written in .NET

不打扰是莪最后的温柔 提交于 2019-12-01 20:59:42
I'm developing a DCOM server in .NET 4 (VS2010, C#). By itself, this is working fine. Now, I also need to develop a .NET client for this DCOM server, but I am unable to add a reference to the TypeLib. Visual Studio will tell me the type library was exported from a .NET assembly and cannot be added as a reference. Answers to this question suggests that I should be able to use TlbImp.exe to generate a wrapper assembly, but it will refuse to do so as well: TlbImp : error TI1029 : Type library 'MyWrapper' was exported from a CLR assembly and cannot be re-imported as a CLR assembly. I understand

What do the different DCOM / COM security settings mean?

淺唱寂寞╮ 提交于 2019-11-30 13:07:22
Our application uses COM and DCOM extensively, and so as part of that we need to ensure that the COM security permissions are correctly set up. I know that I can access these permissions under the Component Services MMC snap in and that I can set the defaults / limits under the property pages for the Computer And that under the DCOM Config node I can drill down and set securty permissions for individual applications I also understand the relationship between the "Defaults" (what DCOM applications will use unless permissions are expicily set on a per-application basis), "Limits" (what

How does impersonation in DCOM work?

馋奶兔 提交于 2019-11-30 05:11:32
I have a DCOM client and server applications which use OLE automation marshaller. They work fine when run on the same PC but when the server is on a different PC not in the same domain I get E_ACCESSDENIED (0x80070005). Server PC is configured with dcomcnfg to give all access to any DCOM object to the user whose login and password I specify on the client. ServerApp and its type library are registered on the server pc. Type library is also registered on the client PC. I specify server name directly in the ClientApp so no dcomcnfg configuration is needed on the Client PC as far as I understand.

COM, COM+, DCOM, where to start?

穿精又带淫゛_ 提交于 2019-11-29 20:18:15
I am curious about COM+, DCOM. I know that MSFT does not encourage you to use this tools natively (meaning with C/C++, in fact there is not a lot of documentation available) but I want to learn to use these technologies, like embedding Internet Explorer into a C program. I thought that maybe I could find people that worked with this or that knows about this technology. Where to start? Any ideas? Any example (like Hello World DCOM)? If you are serious about learning COM, Don Box's "Essential COM" is definitely an absolute "must read". COM can be confusing and in my humble opinion Don Box is one

What is a Binary Standard

一曲冷凌霜 提交于 2019-11-29 12:28:37
I have been reading up COM, there is a mention of binary standard and how that makes language independence possible.. Whats binary standard actually? In my mind, binary would mean machine level code, and if it means machine language how can that be independent at all? At its lowest level, COM is really only a binary-level standard that describes how two pieces of software can communicate. It's binary because it's 100% language independant , it does not rely on source code, but only on a specific layout of structures in memory. In my opinion, the best article to start with is The COM Programmer

How to register a 32-bit .DLL COM+ application on Windows 2008 R2

╄→尐↘猪︶ㄣ 提交于 2019-11-29 07:47:35
I have read through all the similar questions but am not finding my exact problem answered. I have tried all the similar recommendations. I am forced to migrate from a Windows Server 2003 environment to a Windows Server 2008 R2 environment running IIS 7.5. I have a web application that calls COM objects in a 32-bit DLL. The COM object was created from VB6. Here is what I have done to date: I have enabled 32-bit on my IIS Application Pool. I have registered the .DLL and it's dependent .DLL using C:/windows/syswow64/regsvr32.exe -- the registration is successful. I have verified that the .DLL

How does impersonation in DCOM work?

佐手、 提交于 2019-11-29 02:34:48
问题 I have a DCOM client and server applications which use OLE automation marshaller. They work fine when run on the same PC but when the server is on a different PC not in the same domain I get E_ACCESSDENIED (0x80070005). Server PC is configured with dcomcnfg to give all access to any DCOM object to the user whose login and password I specify on the client. ServerApp and its type library are registered on the server pc. Type library is also registered on the client PC. I specify server name