AxSuite3 : evolution for ActiveX support

Windows specific questions.
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

AxSuite3 : evolution for ActiveX support

Postby marpon » Jan 07, 2015 19:35

Hi
You will have here a link for my evolution of the very good tool : AxSuite2 from Loe (done in 2009)
I have recently used it and found some bugs so I tried to solve them and add some helping features.

Thanks to Loe , Aloberoger and also José Roca from the PowerBasic forum ( who initiate the job to work with COM)

the Rar file includes every source needed to compile yourself the new tool , I check it can compile from 0.24 wich is my choice to work up to the recent 1.0.1

By the way I found a difference on Ubound for not dimentionned array ....

the link : https://db.tt/pxzfJCVd

your comments are welcome
Marpon
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: AxSuite3 : evolution for ActiveX support

Postby marpon » Jan 08, 2015 9:41

To compile yourself the tool, the manifest file was missing on the previous rar file ,
here the new updated link to the rar file : https://db.tt/BMAc071y sorry for the mistake !

go to folder : Files to compile AxSuite3 , get the file : Compile AxSuite3.bat
modify the path to fbc according your installation and lauch it

as i said , it should compile correctly with version 0.24 up to the last one.

The compiled file on the rar was compiled with 0.24 , it gives smaller exe file than the recent ones ( - 30 ko at least ).

The generated files should also work with all the fbc versions.

If not let me know.


Last point : I added mini template options to work with non registered control , it is helpfull when you have limited rights on your system (to register components)
but also to distribute with your application the specific ocx with no need for the user to register it , you must try with that non registered Ocx on your own system to verify if it is ok or not.
I've tested with MSFLXGRD.OCX , and worked perfectly , I am not sure if it work with all controls, and even with window controls wich are more tricky...

I've also noticed , not all window (graphic) controls can be hosted by atl /atl71 container , I don't know the reason...

If someone know about it , please give us the information.
D.J.Peters
Posts: 8189
Joined: May 28, 2005 3:28
Contact:

Re: AxSuite3 : evolution for ActiveX support

Postby D.J.Peters » Jan 08, 2015 10:30

Looks great good job.

It's for Microsoft windows only but really helpful for WIN coders.

Joshy
Loe
Posts: 323
Joined: Apr 30, 2006 14:49

Re: AxSuite3 : evolution for ActiveX support

Postby Loe » Jan 08, 2015 14:54

wow it feels like deja vu :)
great work marpon
I suggest you to collaborated with aloberger to continue COM project for FB.
Before I got cancer I failed to create WellCOM.dll with FB, it was one of reasoned I abandoned AxSuite3.
My wishlist in AxSuite3 was generate code to build WellCOM.dll with input ODL file.
it seems aloberoger had succeed to build WellCOM.dll in his post
viewtopic.php?f=6&t=18952&p=171812#p171812

So if you work together with him, we can have AxSuite4 as the real ActiveX/COM suite for FB
where we can build and use ActiveX/COM in FB:)

Im sorry I can not support, because I dont touch programming very long time since I got cancer

Keep up a good work
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: AxSuite3 : evolution for ActiveX support

Postby marpon » Jan 11, 2015 10:00

@ Loe
I'm sure for you its a "deja vu " ,your are the creator...
for the version 4, i am not very able to participate, as my Com knowledge is very limited, i am just trying to put in better form, what you and other have produced.
My concern was to be able to use existing activex ,because coming from vb6, it was so simple to use them.
today with this evolution of your job, i am able to play with some, some graphic ones not, atl seem not able to host them.

an other point still not solved, some activex use vtable to fire events, your proposal only generate code for invoke event interface, i have no idea how to play with vtable events.
I have seen Aloberoger sample working with vtable events, but for my skill it is to difficult to extend it for general case, without abstract stuff, with the standard version of include files (not modified ones ) to maintain compatibility and work with versions from 0.24 up to last one.
if somebody can help showing how to deal with vtable events in simple way, i will try to implement it in axsuite 3.1....
Loe
Posts: 323
Joined: Apr 30, 2006 14:49

Re: AxSuite3 : evolution for ActiveX support

Postby Loe » Jan 11, 2015 11:40

@marpon
may be someone can give solution for vtable event if you post sample of working code
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: AxSuite3 : evolution for ActiveX support V3.1

Postby marpon » Feb 03, 2015 11:20

New version AxSuite3 v3.1

Some bugs cleaned , simplification on the conditionnal ( Atl.dll/Atl71.dll)
shorter and better code for Events template
code taking care of FireFly generation process...

So the Ax_Lite.bi has been also affected ( included )

In conclusion :
The already existing code templates work with the new Ax_Lite.bi : Ok

but it is some incompatibility with previous Ax_Lite.bi and new templates > change to new Ax_Lite.bi

The files here : https://db.tt/fBR7ThYz

Still looking for vtable Events implementation : no support available?

Marc
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: AxSuite3 : evolution for ActiveX support

Postby marpon » Feb 26, 2015 13:05

new version AxSuite3 v3.2
here : https://www.freebasic-portal.de/dlfiles/653/AxSuite3.2.zip

Use with the updated Ax_Lite.bi (v3.2) included in the rar file or use the one embedded into AxSuite3 v3.2

thanks to aloberoger ,for his help on the vTable event template

comments apreciated...
Last edited by marpon on Feb 22, 2019 14:56, edited 1 time in total.
marcedo
Posts: 4
Joined: Feb 26, 2016 14:31

Re: AxSuite3.2 : InternetExplorer Control

Postby marcedo » Feb 26, 2016 14:36

Ive done a simple sample which utilize InternetExplorer with AxSuite3.2 .
It inits IE, sets some Properties and navigates to facebook. Then it waits for IE to signal the load complete.
https://www.freebasic-portal.de/code-be ... x-304.html
marcedo
Posts: 4
Joined: Feb 26, 2016 14:31

Re: AxSuite3.2 : InternetExplorer Control

Postby marcedo » Feb 29, 2016 16:48

marcedo wrote:Ive done a simple sample which utilize InternetExplorer with AxSuite3.2 .
It inits IE, sets some Properties and navigates to facebook. Then it waits for IE to signal the load complete.
https://www.freebasic-portal.de/code-be ... x-304.html


... extended the sample to include IHTMLDOC2, which is IEs HTMLParser.
[url]]https://sourceforge.net/p/scite-webdev/code/ci/master/tree/SciTE_ApiDocs/FreeBASIC/FBIDE_InternetExplorer/[/url
MY Goal is to programmaticaly logon to any Website (even ssl) with FreeBasic.
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: AxSuite3 : evolution for ActiveX support

Postby marpon » Feb 22, 2019 14:59

Reactivating that post to change the dead link for AxSuite3.2

https://www.freebasic-portal.de/dlfiles/653/AxSuite3.2.zip

Return to “Windows”

Who is online

Users browsing this forum: No registered users and 8 guests