Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. where is the type library for IDataObject ?

where is the type library for IDataObject ?

Scheduled Pinned Locked Moved COM
comquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vlasta_
    wrote on last edited by
    #1

    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

    N V 2 Replies Last reply
    0
    • V Vlasta_

      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

      N Offline
      N Offline
      Nathan Holt at EMOM
      wrote on last edited by
      #2

      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

      V 1 Reply Last reply
      0
      • N Nathan Holt at EMOM

        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

        V Offline
        V Offline
        Vlasta_
        wrote on last edited by
        #3

        Thanks, I may end with the IUnknown workaround, but I am still hoping to locate the tlb somwhere.

        1 Reply Last reply
        0
        • V Vlasta_

          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

          V Offline
          V Offline
          Vi2
          wrote on last edited by
          #4

          Look at ...\Microsoft Visual Studio\Common\IDE\IDE98\VJEXT.TLB

          With best wishes, Vita

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups