469,327 Members | 1,290 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,327 developers. It's quick & easy.

Still problems with DLL

I am using pythoncom to get access to an Autmoation DLL. I can get the
typelibrary loaded, get a class of the object, get a module which wraps
the class, and a lot of other things.

But I **can't** create any actual instances of the objects contained.

Is there a special procedure for getting an 'instance' of an Active X
object?

Jul 18 '05 #1
1 1011

A lot of ActiveX controls require that they be hosted in full-fledged
container.
See \pythonwin\pywin\demos\ocx for examples using Pythonwin as a host,
or you can also run them in IE and access the object thru the document
object model.

The only error msg I can remember seeing when a container was required was
something like 'Catastrophic failure'.

Roger

"Roger Irwin" <no*****@spam.net> wrote in message
news:0j*********************@news4.tin.it...
I am using pythoncom to get access to an Autmoation DLL. I can get the
typelibrary loaded, get a class of the object, get a module which wraps the
class, and a lot of other things.

But I **can't** create any actual instances of the objects contained.

Is there a special procedure for getting an 'instance' of an Active X
object?

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

102 posts views Thread by RFox | last post: by
4 posts views Thread by Wayne Wengert | last post: by
13 posts views Thread by penguin732901 | last post: by
687 posts views Thread by cody | last post: by
8 posts views Thread by Michael C | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by Purva khokhar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.