Do you mean QlikView or Qlik Sense Desktop?
If you are using Qlik Sense see http://help.qlik.com/sense/en-us/developer/
under Qlik Sense .Net SDK you will find useful informatio / examples.
thanks for your reply.
I developed my application by following the guidance of the APIguide.qvw document.
My problem is that I cant find any documentation about using QlikView Desktop (not Sense) COM object in MTA (multi threaded apartment).
The API's behavior suggest that it is an STA (single threaded apartment) COM by default.
I'm looking for a way to configure the COM component so that it can be used as MTA.
For example... i launch new instance of COM component:
var FirstQVApp = new QlikView.Application();
Now I want another instance of QlikView application then I write following code:
var SecondQVApp = new QlikView.Application();
But FirstQVApp and SecondQVApp are the same instance of COM component and refer to the same QlikView application instance (same Process ID)!!!
It is not enough for me to open two documents like this:
I have to open two instance of QlikView application.
Thanks for your patience
After a while I found the solution. The method 'RevokeClassObjects' in COM instanced object make QlikView COM MTA (so you can open more that one instance within your COM instance).
qlikViewClientCom = Activator.CreateInstance(Type.GetTypeFromCLSID(Guid.Parse(GetQlikViewCLSID()))); qlikViewClientCom.RevokeClassObjects();