I've started a new forum where to talk about COM module made by Roberto.
This module can have great importance for the many possible future implementations and interfaces with the many COM objects Windows (and other software developers) give to the users.
You should have already some few COM example under \thinBasic\SampleScripts\COM\ directory.
But here I would like to show something new. A way to add support for ATL in thinBasic scripts and interfacing loaded object with thinBasic COM module.
For the momont it is all quite at initial level but I can see many possible implementations if we will be able to interface with COM objects loaded inside ATL container.
As a starter, see attached example where an ATL container is used to host a Flash component. Than COM module is used to change Flash COM server property "Movie" to load a SWF file from internet. You need to be connected to internet for this example to work. Flash games are loaded from www.CodingMonkeys.com arcade page (hope they will excuse us) and other web sites. Very easily you can add your own: just add a new command, link it to a menu and manage its url in window message pump.
Have fun and tell us what you think.
More examples will come.
Eros
Attention: some [wiki=Memory_leak]Memory_leak[/wiki] or in some cases [wiki=GPF]GPF[/wiki] can happen but ATL should work on any Win2K or above OS.
In my tests nothing went wrong so far but I just tested under WinXP Sp2.
_________________________________________________
For reference about ATL:
[wiki=Active_Template_Library]Active_Template_Library[/wiki]
http://msdn2.microsoft.com/en-us/library/t9adwcde(vs.80).aspx
www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Wow, that is really amazing Eros!!!
This is alien technology that is very advanced and super powerful
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks