Results 1 to 2 of 2

Thread: COM: new forum for COM scripts

  1. #1
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    54
    Posts
    8,636
    Blog Entries
    2
    Rep Power
    10

    COM: new forum for COM scripts

    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
    Attached Files Attached Files
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  2. #2
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    64
    Posts
    3,869
    Rep Power
    401

    Re: COM: new forum for COM scripts

    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

Similar Threads

  1. Scripts: new forum area
    By ErosOlmi in forum Announcements
    Replies: 11
    Last Post: 12-12-2008, 21:55

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •