where is the type library for IDataObject ?
-
Hello all, I know the experts on codeproject can deal with any of my sneaky questions... try this one: What .tlb is the definition of IDataObject in? Why do I need it: I have my own interface with IDataObject as an argument of one of its methods. The type library compiled from that .idl contains beside my own interface also IDataObject and a couple of others, which are referenced by it. As a consequence, the proxy for that interface is wrong and drag and drop stops functioning in my app :( . I tried to find a type library to put in importlib("") statement, but did not find it. There must be something obvious I am overlooking. Thanks for any advice
-
Hello all, I know the experts on codeproject can deal with any of my sneaky questions... try this one: What .tlb is the definition of IDataObject in? Why do I need it: I have my own interface with IDataObject as an argument of one of its methods. The type library compiled from that .idl contains beside my own interface also IDataObject and a couple of others, which are referenced by it. As a consequence, the proxy for that interface is wrong and drag and drop stops functioning in my app :( . I tried to find a type library to put in importlib("") statement, but did not find it. There must be something obvious I am overlooking. Thanks for any advice
Vlasta_ wrote:
Why do I need it: I have my own interface with IDataObject as an argument of one of its methods. The type library compiled from that .idl contains beside my own interface also IDataObject and a couple of others, which are referenced by it. As a consequence, the proxy for that interface is wrong and drag and drop stops functioning in my app . I tried to find a type library to put in importlib("") statement, but did not find it. There must be something obvious I am overlooking.
I can think of a couple other options. One is to provide custom marshaling for your method. Another is to just pass an IUnknown and query for IDataObject in your code. I tried to find the tlb for IDataObject and I couldn't find it either. Nathan
-
Vlasta_ wrote:
Why do I need it: I have my own interface with IDataObject as an argument of one of its methods. The type library compiled from that .idl contains beside my own interface also IDataObject and a couple of others, which are referenced by it. As a consequence, the proxy for that interface is wrong and drag and drop stops functioning in my app . I tried to find a type library to put in importlib("") statement, but did not find it. There must be something obvious I am overlooking.
I can think of a couple other options. One is to provide custom marshaling for your method. Another is to just pass an IUnknown and query for IDataObject in your code. I tried to find the tlb for IDataObject and I couldn't find it either. Nathan
-
Hello all, I know the experts on codeproject can deal with any of my sneaky questions... try this one: What .tlb is the definition of IDataObject in? Why do I need it: I have my own interface with IDataObject as an argument of one of its methods. The type library compiled from that .idl contains beside my own interface also IDataObject and a couple of others, which are referenced by it. As a consequence, the proxy for that interface is wrong and drag and drop stops functioning in my app :( . I tried to find a type library to put in importlib("") statement, but did not find it. There must be something obvious I am overlooking. Thanks for any advice