INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

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

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

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

(OP)
I have exactly the same problem as discussed in thread195-107703: DLL surrogate problem. 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]
@=""
 

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

(OP)
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.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close