Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...keep up the good work with this forum, I think this is the best one around. ...you actually try to help people learn for themselves. ...I commend you on providing a very good, open learning atmosphere, where usually egos are left behind..."

Geography

Where in the world do Tek-Tips members come from?

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

kaslanidi (Programmer)
3 Apr 10 8:09
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]
@=""
 
kaslanidi (Programmer)
3 Apr 10 8:39
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.
 

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!

Back To Forum

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