Active X in Delphi

4 posts / 0 new
Last post
otahalm
otahalm's picture
Active X in Delphi

Hallo everybody!:p
I would like to write my alien router or alien procedure that can be used in DEP. I have some experience with programming in Delphi, but I have never written any Active X component.:( Could someone send me an example of such thing?;) The moist useful would be an example that can show a message using a Delphi procedure ShowMessage. Thank you very much.

Arno Rouschen
Delphi Alien procedure

Hi,

We have created an example of a Blaise datamodel that calls a ShowMessage method in a Delphi ActiveX dll. You can find both the Blaise and Delphi sources on our ftp-server. Please click the link below to get the zip file.

https://oto.cbs.nl/blaiseforum/DelphiAlienProc/DelphiAlienProc.zip

Best regards,
Arno Rouschen
Blaise Team

otahalm
otahalm's picture
Thank you for your example

Hello Arno!
Thank you very much for your example. I have already begun to study it.:huh: I realized that I would have to learn more about creating ActiveX component in Delphi.:( I will or even better I am going to do it in the near future.:rolleyes: Now I am not able to compile the project Alien.dpr. I tried it in version 7.0 and also in Code Gear 1 with the same result. There were an error message “[Error] Unit1.pas(28): Incompatible types: 'TAutoClass' and 'Class reference'”. I thing it is caused by not registering of something else. Am I right? Thank you for your answer.;)
With best regards.

Mirek Otáhal

Mirek

Han Hölsgens
Error in example

Hi Mirek,

Unfortunately there was an error in Unit1.pas of the Delphi example. We used TAutoIntfObject instead of TAutoObject. I corrected this and now everything should be okay. Just download the zip file again:

[url=https://oto.cbs.nl/blaiseforum/DelphiAlienProc/DelphiAlienProc.zip]https...

Regards and excuses for the inconvenience,
Han Hölsgens
Blaise Team

Log in or register to post comments