Thread View: borland.public.delphi.activex
1 messages
1 total messages
Started by Ronald Hoek
Tue, 10 Oct 2000 00:00
Problem creating active object for Webserver
Author: Ronald Hoek
Date: Tue, 10 Oct 2000 00:00
Date: Tue, 10 Oct 2000 00:00
49 lines
2557 bytes
2557 bytes
Hay everyone,
Just started with COM/ACTIVEX and I got stuck. I created a new
DLL-application, added ComServ as unit and then following exportstatements.
exports
DllGetClassObject,
DllCanUnloadNow,
DllRegisterServer,
DllUnregisterServer;
Then I added a COM-object from the ActiveX page (I'm using Delphi 4) and
added the method "GetWebDate" with the parameters 1: "ID:integer" and 2:
"out Name:WideString".
When I try to use the methode "GetWebData" using an ASP-script (server
working MS IIS4) I get this error:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'GetWebData'
/temptestsite/testweb.asp, line 16
In my asp-script i'm doing the following:
<%
Dim MyData
MyData = " " '
Set MyTestApp=Server.CreateObject("CAWebdemo.WebDemo") 'works fine
'I tried: MyTestApp.GetWebData(500, MyData) This would not work
MyTestApp.GetWebData 500, MyData
Response.Write(MyData)
%>
Can someone help me solve this problem?
--
Greatings,
Ronald Hoek
Applicationdevelopper
ComponentAgro B.V.
Barendrecht
Phone. +31-180-621306
Fax. +31-180-611797
mailto:hoek@componentagro.nl
http://www.componentagro.nl
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads