Type Library
-
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!
-
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!
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 -
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 ParkerNot 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!