Page 1 of 1
Support for calling Active X Objects
Posted: Tue Feb 13, 2007 9:19 am
by pkmittal
Hello,
I would like to call ActiveX component (which has been development in c++ ) from the rev program. But It seems revolution does not provide a way to do that.
Is there going to be any support for making a call to Active X objects from rev program in feature?
Best Regards
Pradeep
ActiveX
Posted: Sun Feb 18, 2007 8:46 pm
by bfisher
One way to do this might be to write a small VBS script that can communicate with the object, and have your Revolution stack call the script with some parameters. To call the script you might use the shell or launch commands.
You could also write an external DLL.
How to get response from VBScript
Posted: Mon Feb 19, 2007 7:12 am
by pkmittal
Hello,
Did you mean to say that we make a call to VBScript exe file by using shell commands. If yes, then how to pass the parameters (which may be around 50 lines of text) to exe file ? And how will VBScript program will send commmands to Rev program. ?
Do you have any examples of it?
Thanks for your insights.
Best Regards
Pradeep
Passing data
Posted: Sat Feb 24, 2007 8:32 pm
by bfisher
Yes, passing data between the two is a bit more difficult.
The best way is to create an external in C++, because that can put data directly into a Revolution variable. This works with even large amounts of binary data. I once wrote an image-processing external in C. There was
http://www.runrev.com/newsletter/novemb ... etter5.php
and
http://www.runrev.com/newsletter/novemb ... etter3.php
have information about externals.
You could also use environment variables, but the amount of data is limited to 8,192 bytes.
Temporary files are always an option.
Posted: Tue Apr 22, 2008 12:44 pm
by verlsnake
All of a sudden - and with the advent of Revolution 2.9 - I am also very much interested in genuine ActiveX support !
One possibility is using the revBrowser plugin for embedding an ActiveX component - this should at least work on Windows where revBrowser is based on IE ...
BUT: It would be great to have native Revolution support for ActiveX components, too ! Place them on Revolution cards much along the lines a QuickTime Player object is placed; and then treat them with all the Revolution goodness available ...
Is native Revolution support for ActiveX components already available at this time ? Or is an external in the works somewhere, for example ?
Posted: Tue Apr 22, 2008 4:01 pm
by FourthWorld
You can add your votes to the request for ActiveX support here:
http://quality.runrev.com/qacenter/show_bug.cgi?id=3940
Posted: Tue Apr 22, 2008 8:08 pm
by keyless
This is for a ActiveX plug in for display of Revolution Projects within Web Browsers.
This topic is about using activex controls from Rev I believe, two different concepts.
Posted: Tue Apr 22, 2008 10:39 pm
by FourthWorld
Sorry for the misunderstanding. That was the only request I could find for ActiveX there. You're welcome to create a new one.
Posted: Wed Apr 30, 2008 7:12 pm
by verlsnake
I have just created the following feature request:
Native Support for calling/embedding Active X Objects
http://quality.runrev.com/qacenter/show_bug.cgi?id=6456
Please praise it; spread the word for it; and last but not least VOTE for it
