Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

unable to query interface into a DLL loaded into dllhost.exe process.

Status
Not open for further replies.

kaslanidi

Programmer
Apr 3, 2010
2
RU
I have exactly the same problem as discussed in thread195-107703. In addition I tried inserting ThreadingModel key into the InprocServer32 node and tried all possible values. I verified that the DLL loads in-process and I examined my entries through OLE Viewer. I see no errors.

The below is my registration file.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\pfeControlShell.CoControlShell]

[HKEY_CLASSES_ROOT\pfeControlShell.CoControlShell\CLSID]
@="{40B2858F-856F-4618-90DF-B42349E0A0FF}"

[HKEY_CLASSES_ROOT\CLSID\{40B2858F-856F-4618-90DF-B42349E0A0FF}]
@="pfeControlShell.CoControlShell"
"AppID"="{40B2858F-856F-4618-90DF-B42349E0A0FF}"

[HKEY_CLASSES_ROOT\CLSID\{40B2858F-856F-4618-90DF-B42349E0A0FF}\AppID]
@="{40B2858F-856F-4618-90DF-B42349E0A0FF}"

[HKEY_CLASSES_ROOT\CLSID\{40B2858F-856F-4618-90DF-B42349E0A0FF}\InprocServer32]
@="C:\\OTSProjects\\PythonForExcel\\pfeControlShell\\Debug\\pfeControlShell.dll"
"ThreadingModel"="Both"

[HKEY_CLASSES_ROOT\CLSID\{40B2858F-856F-4618-90DF-B42349E0A0FF}\ProgID]
@="pfeControlShell.CoControlShell.1"

[HKEY_CLASSES_ROOT\CLSID\{40B2858F-856F-4618-90DF-B42349E0A0FF}\TypeLib]
@="{681382E5-EDDD-4509-AEBC-BDACE9F39E82}"

[HKEY_CLASSES_ROOT\AppID\{40B2858F-856F-4618-90DF-B42349E0A0FF}]
@="pfeControlShell.CoControlShell"
"DllSurrogate"=""

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}]
@="Python for Excel Control Shell Type Library"

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}\1.0]

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}\1.0\0]

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}\1.0\0\Win32]
@="C:\\OTSProjects\\PythonForExcel\\pfeControlShell\\Debug\\pfeControlShell.tlb"

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}\1.0\FLAGS]
@="0"

[HKEY_CLASSES_ROOT\TypeLib\{681382E5-EDDD-4509-AEBC-BDACE9F39E82}\1.0\HELPDIR]
@=""
 
I am going to withdraw my question above. It appears (from other posts on the web) that the dllhost.exe simply does not provide any default marshaling. The E_NOINTERFACE error simply means that it cannot find the marshaling interface.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top