clsid

Calling the Javascript functions inside C# for a 64 bit project

感情迁移 提交于 2019-12-20 05:55:02
问题 I am trying to call the Javascript function "eval" from inside C# code (to utilise the string to operators parser). I used the following code: https://stackoverflow.com/a/12431435/712700 It crashes though with the following message--- : Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {0E59F1D5-1FBE-11D0-8FF2-00A0D10038BC} failed due to the following error: 80040154 Class not registered (Exception from HRESULT:

How to Keep CLSID constant after a version change in VS2010 - Binary compatibility?-

假装没事ソ 提交于 2019-12-11 09:03:10
问题 Can someone tell me how I can use the binary compatibilty in VS2010? I have a project that evertime I build with a new assembly file with the new version changes the CLSID of the dll. I already use that CLSID hardcoded in my WiX package to register that dll as a com+ but if it is to change on every build would mean I should update my WiX package with evey new version. Any ideas ?? Edit 1 I should mention that this CLSID is the one that appears along side your Application ID in the properties

Specialize a template for a GUID value

旧街凉风 提交于 2019-12-10 19:39:52
问题 This is a follow up to Why aren't fields from constant POD object constants themselves? A header from a library declares class GUIDs like static const GUID CLSID_EH264VD = { 0x96b9d0ed, 0x8d13, 0x4171, { 0xa9, 0x83, 0xb8, 0x4d, 0x88, 0xd6, 0x27, 0xbe } }; I want to write a function that creates an object directly from the dll, without requiring the dll to be registered, so I need to map each CLSID to the dll name. Something like Create<CLSID_EH264VD>() which would depend on a specialization

Discovering registered COM components

99封情书 提交于 2019-12-10 11:33:50
问题 Is there a way to determine if a registered COM component is creatable as a stand-alone component simply by parsing the information available in the registry? In particular, by the information found in HKCR/ClsId? My system has over 12,000 entries in this key, and I am already excluding any items that do not have an InProcServer32 or LocalServer32 key, but this only eliminates about half of the items. I believe there are still another couple thousand that are not creatable objects. I really

Using Interop.MODI Throws 0x80040154 Exception

倖福魔咒の 提交于 2019-12-09 16:06:24
问题 I am currently trying to implement the Interop.MODI.dll (From Microsoft Office) to use the Image -> Text features it should Provide. But when doing var modi = new MODI.DocumentClass(); I get: "COMException 80040154 with CLSID {40942A6C-1520-4132-BDF8-BDC1F71F547B}". What have I tried to solve that problem? I registered the DLL using the regasm tool: -Problem still exists I tried setting the BuildPlatform to x86: -Problem still exists I use the Visual Studio 2010 Ultimate with Windows 7

Using DirectShow filters outside DirectShow?

懵懂的女人 提交于 2019-12-08 03:31:05
问题 I'm currently dealing with Windows Media Foundation. However, due to some problems with the Microsoft H.264 decoder and some missing decoders for custom format, I'd like to know if it would be possible to instantiate a DirectShow Decoder directly using CLSID, and build a proxy around it that exposes IMFTransform to get a decoder for Media Foundation. So here is my question: Can i instantiate a Directshow filter (preferrably decoders) directly and use them for decoding (i.e. put some

How to get elevated permission to edit a registry CLSID, with in a WiX fragment

时光毁灭记忆、已成空白 提交于 2019-12-08 02:14:56
问题 I am trying to set windows desktop search to use a different html filter other than the system default filter(nlhtml.dll). When I look up the PersistentHandler ( HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.html\PersistentHandler ) it points to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{eec97550-47a9-11cf-b952-00aa0051fe20} . I want to change the value of above clsid. Following is the WiX snippet <?define PersistentHandler_HtmlIFilter="eec97550-47a9-11cf-b952-00aa0051fe20"?> <RegistryValue Action=

Is there a x64 version of MsStkPrp.dll

廉价感情. 提交于 2019-12-08 01:44:26
问题 I'm porting an ATL control to 64-bit. The control uses the Stock Property pages (CLSID_StockFontPage, CLSID_StockColorPage) in its properties dialog. After recompiling for x64, the Color and Font tabs are missing (because MsStkPrp.dll is 32-bit). Is there a 64-bit version of the dll or is there a better way to implement fonts and colors in an ATL ActiveX control? 回答1: Even the 32-bits version of msstkprp.dll isn't present in Windows 10, so I copied it from my Windows XP virtual machine (

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a

 ̄綄美尐妖づ 提交于 2019-12-07 04:50:20
问题 Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 8000401a. We are getting above said error from our production server which is hosted in SharePoint farm environment, where as not able to reproduce the same issue from our staging server which is standalone server. I hope, the above said error will be throwing when Microsoft.Office.Word component accessing from remote machine. I've updated all users under "Launch

Using DirectShow filters outside DirectShow?

巧了我就是萌 提交于 2019-12-06 11:33:43
I'm currently dealing with Windows Media Foundation. However, due to some problems with the Microsoft H.264 decoder and some missing decoders for custom format, I'd like to know if it would be possible to instantiate a DirectShow Decoder directly using CLSID, and build a proxy around it that exposes IMFTransform to get a decoder for Media Foundation. So here is my question: Can i instantiate a Directshow filter (preferrably decoders) directly and use them for decoding (i.e. put some compressed frames and get uncompressed ones) to create a MFT? I know how to instantiate the filter itself using