문제

I'm trying to understand how to add Activex control to Intraweb stand-alone application.

I'm placing IWActivex control on unit1 form.

In field ClassID i'm writing the clsid of my registered OCX application. (f.e. C1A8AF28-1257-101B-8FB0-0020AF039CA3). After lauching intraweb application i'm getting the error like "Unknown intraweb command "/$/C1A8AF28-1257-101B-8FB0-0020AF039CA3"" I was trying to google this error but it was unsuccessful. Also i was trying to write ActiveXObject.Filename as 'C:\intaweb_test\mytest.ocx' No results. I was trying to learn manual by eBob Manual

but he is writing on Delphi 7 :(

Can anybody help me?

Thank You.

도움이 되었습니까?

해결책

You can find an example in the demo Features.exe. How to download the demo: http://www.atozed.com/intraweb/download/IntraWebDemos.EN.aspx

In the form ActiveXForm.pas there is a TIWActiveX component.

Set the Properties to

<TIWActiveX>.ClassID:= 'clsid:C1A8AF28-1257-101B-8FB0-0020AF039CA3';
<TIWActiveX>.CodeBase:= '/Files/mytest.ocx';  
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top