Integration Service

Hi, 

I wanted external applications to ‘drive’ e2 studio using Microsoft Windows COM Objects.

I am new to Microsoft Windows COM so can u plz share any example code to drive e2 studio using Microsoft Windows COM.

 

Thanks In Advance,

Ganesh

  • There should be some simple examples in the e2studio Help Manual. Search for keyword Integration.
  • In reply to O. R.:

    Hi,
    I have followed the procedure given in Help for installation and registered in HKEY_CLASSES_ROOT registry editor as HKEY_CLASSES_ROOT\ISServer.e2StudioServer.
    I am using microsoft visual studio 2010 for creating application to control the e2Studio.I have included ISServerPS.dll microsoft visual studio workspace. When i use the sample code which is there in help, not able to compile the code. Here is the snapshot the code

    #include "stdafx.h"
    #include <atlbase.h>
    #include <windows.h>
    #include <shobjidl.h>
    #include <uuids.h>
    #include <Objbase.h>



    int _tmain(int argc, _TCHAR* argv[])
    {

    CComPtr<IUnknown> e2Studio;
    e2Studio.CoCreateInstance(__uuidof(e2StudioServer));

    return 0;
    }

    I am getting error as
    " error C2065: 'e2StudioServer' : undeclared identifier"

    Please let me know what is missing for above compilation error.

    Regards,
    Ganesh Petkar
  • In reply to Ganesh:

    I'm not sure what you see; but there's a whole section to guide.

    Check if your installation of e2studio has integration service installed using:

    e2studio > Help > Installation Details > Installed Software

    I've never worked with it, but that's all the details I know from reading the manuals.

    Good luck.

  • In reply to O. R.:

    I have checked e2studio has integration service installed.
    Can any one help on this?

    Thanks In Advance,
    Ganesh

  • In reply to Ganesh:

    IntegrationServer.zip

    Please have a look at this ZIP. It holds some examples for ISserver and a short description how to use.

  • In reply to FrankL:

    Frank, Thank you so much for sending some example.
    C# work space working perfectly working fine.
    But in C++ I am getting build errors like

    " fatal error C1083: Cannot open type library file: '..\ISServer\Debug\ISServer.tlb': No such file or director"
    It is searching tlb file from debug folder but there is tlb file in mentioned folder

    In I have only ISServerPs.dll in C:\Renesas\e2_studio\Utilities\ but in the source code they have used tlb file.

    My questions are:-
    Do we have to convert dll to tlb?
    I tried to convert dll to tlb with tools but its not happening.

    It would be very helpful if you provide tlb file.

    Thanks in advance,
    Ganesh Petkar
  • In reply to Ganesh:

    Sorry, you got all I have... .
    And I have never used this function with the Integration server.
  • In reply to FrankL:

    Can one know how to generate ISServer.tlb file?
  • In reply to Ganesh:

    Now i am able to communicate to e2studio using COM.
  • In reply to Ganesh:

    That's awesome. What resources did you end up using? Would love to hear the experience (in the form of a blog or something) :)

  • This thread will be archived due to inactivity

    Mike Clements
    RenesasRulz Moderator
  • In reply to O. R.:

    I used C# work space code to drive "e2 studio" using Microsoft Windows COM Objects from external application.
  • In reply to FrankL:

    Thanks frank for sharing example code for integration service.