queryinterface - Can't access the COM interface -


I am working with the least application documentation (pushing), and starts to be confusing / contradictory. I will also ask the software company, but their last reply took weeks. Meanwhile ... (thanks) ..... I am trying to use the [Already] Com Interface of a GUI application which we will call: Xyz

My question: given below Will you inform you that any COM interface is not available, it must be registered, etc. ...

User Manual Status:

Here are the APIs Only two quotes related to the ability of the interface:

  1. "Since XZ is a 32 bit application Is using Com (Component Object Model) components, running XYZs from a network ..... "

  2. "You can use the Xyz.Interface COM object to query for information and you can present it in a format like you."

code EXAMPLE 1:

Dim xyz_com set xyz_com = CreateObject ("Xyz.Interface") xyz_com.Visible = false

Result 1 :

"Object does not support this property or method: 'visible'"

code Example 2:

Dim xyz_com set xyz_com = CreateObject (" Xyz.Interface ")

RESULT 2:

Appea RS of the initial app screen - if I Hwar mode 'as the application I'm starting to say - I do not think that will show me the screen.

Code example 3:

Set the dim xyz_com Xyz_com = CreateObject ("Xyz.Interface") xyz_com.QueryInterface ()

RESULT 3:

"Object does not support this property or method: 'QueryInterface'"

What results will tell you below that there is no COM interface available, it should be registered, etc. The CreateObject call succeeds, so the COM interface exists and is registered. Some comments:

  • You can not call QueryInterface directly, such as VB
  • Before you set the visible property, Must be put in the correct interface. Try xyz_com dimmed as xyz.Interface instead of dim xyz_com
.

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -