Calling a Delphi COM object from ASP?
Posted on 2003-11-18
I have the following ASP code to create my COM object:
Set objPal = Server.CreateObject("VCTypeLib.VCAM")
aKey = objPal.LogOn("USER1", "PASSWORD")
This creates the COM object no problems, but I cannot then call any functions without getting the following error:
Microsoft VBScript runtime (0x800A01B6)
Object doesn't support this property or method
My thinking is that the VCTypeLib.VCAM relates to the Class GUID for my COM object, yet the interface with the functions on has a different GUID - so this could be why it cannot use the functions.
This is the first time I have tried to call a Delphi COM object from ASP, so any help would be most appreciated.