[thelist] Interfacing an unknown com object from ASP (long)

Ashok at MagicalKenya.com Ashok at MagicalKenya.com
Wed Aug 21 02:09:01 CDT 2002


>From what I know ASP defualts to ByRef for passing parameters to COM object
functions -- unfortunately the ByRef passing
in ASP supports only variant types (since every datatype in ASP is a
variant)

Which means your Delphi component that accepts the function params as a
LPSTR will probably not set the reference values
properly . Your should ask the Delphi guy to rewrite the function with
VARIANT* (its supported in C++) params rather than a LPSTR.

HTH
ashok


------
Ashok Hariharan
http://www.unganisha.org
------






More information about the thelist mailing list