- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I would appreciate any information and/or references on the mechanics in setting up a DLL/COM using CVF 6.5 which can be "called" by a ASP with VBScripts. For example, from ASP passing two numbers and an array to the CVF DLL/COM, and in return one additional array.
Thanks.
Thanks.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
First your COM object needs to support IDispatch. So select a Dual interface in the COM Server Wizard. Next, you must restrict the arguments to your methods even more than just to automation compatible types. I think that [in] parameters can be VARIANT or VARIANT-compatible, while [out] parameters need to be VARIANT* - variants passed by reference. See http://support.microsoft.com/support/kb/articles/Q197/9/57.ASP for more info. The real pain is that arrays have to be a variant containing a safearray of variants. A pain. This is where a library of variant routines is very helpful. If you go forward with this, check out http://www.canaimasoft.com/Products_f90VB.htm
There's also lots of books on ASP development, like Developing ASP Components
hth,
John
There's also lots of books on ASP development, like Developing ASP Components
hth,
John

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page