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. Web Development
  3. Type Library

Type Library

Scheduled Pinned Locked Moved Web Development
tutorialdatabasecomquestion
3 Posts 2 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.
  • P Offline
    P Offline
    Philip Patrick
    wrote on last edited by
    #1

    I made a COM object and using it in my ASP. Now I want to use a typelib, like with ADO for example. How to do that? I remember I saw an article here about this thingy, but couldn't find it now :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer Need Web-based database administrator? You already have it!

    N 1 Reply Last reply
    0
    • P Philip Patrick

      I made a COM object and using it in my ASP. Now I want to use a typelib, like with ADO for example. How to do that? I remember I saw an article here about this thingy, but couldn't find it now :( Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer Need Web-based database administrator? You already have it!

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      Philip Patrick wrote: Now I want to use a typelib, like with ADO for example Are you looking for a way to include a file like the ADOVBS.INC in a particular page? Nick Parker

      P 1 Reply Last reply
      0
      • N Nick Parker

        Philip Patrick wrote: Now I want to use a typelib, like with ADO for example Are you looking for a way to include a file like the ADOVBS.INC in a particular page? Nick Parker

        P Offline
        P Offline
        Philip Patrick
        wrote on last edited by
        #3

        Not exactly. The problem is that the COM object can be used by C++ application also, so itself contains several enams, and I want to access them from ASP. Like if you inlcude this code before using ADO:

        <!-- METADATA TYPE="typelib" uuid="00000205-0000-0010-8000-00AA006D2EA4" -->

        You will be able to use adLockReadOnly for example (and other constants) without using additional INC file. INC file won't very useful in my case, since every change in enam in COM object, I need to update the INC file also. And the second, INC file will be compiled with ASP file itself, so it can slow and overload the Server. That's why I'm looking for the second way :) Philip Patrick Web-site: www.stpworks.com "Two beer or not two beer?" Shakesbeer Need Web-based database administrator? You already have it!

        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