Still problems with DLL

R

Roger Irwin

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?
 
R

Roger Upole

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,209
Messages
2,571,088
Members
47,686
Latest member
scamivo

Latest Threads

Top