Announcement

Collapse
No announcement yet.

Request for 1.94 -> embedding

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Request for 1.94 -> embedding

    I like that 1.94 has a method for embedding the main interface into a Frontend.

    The problem I have, is that if I close my FrontEnd (Centrafuse), then every embedded app is closed by CF, including EZSync. (disappears from the task bar altogether).

    Would not be a problem if launching the embedded interface would actually launch the EZSync client, but it does not.

    So, my request: When launching the helper embed application (cannot remember the name), can you force it to launch the actual EZSYnc client? This way when I lcunh it from my FrontEnd it will run the client when not already running.

    Thanks!
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  • #2
    Originally posted by justintime
    I like that 1.94 has a method for embedding the main interface into a Frontend.

    The problem I have, is that if I close my FrontEnd (Centrafuse), then every embedded app is closed by CF, including EZSync. (disappears from the task bar altogether).

    Would not be a problem if launching the embedded interface would actually launch the EZSync client, but it does not.

    So, my request: When launching the helper embed application (cannot remember the name), can you force it to launch the actual EZSYnc client? This way when I lcunh it from my FrontEnd it will run the client when not already running.

    Thanks!
    I don't quite understand what you are doing. I haven't made any changes to EZSync to provide the capability you are describing - so you must have found something out for yourself. What exactly is it that you've done to embed it into CF?

    Ric.
    EZSync - http://www.richmet.com/ezsync

    Comment


    • #3
      Ric:

      I am embedding the application ezsyncint.exe to my frontend. The user guide covers this!

      EZSYNCINT.EXE

      EZSYNCINT.EXE is an additional application that is packaged and installed with the client installation. Its purpose is to provide a method for linking the client application to any of the regular front ends. As EZSync runs in the system tray, the only way of getting access to the main window is to double click the icon in the system tray. EZSYNCINT.EXE provides an alternative method of accessing the client window. It has an execution path that just shows the EZSync client main window, and then terminates. Therefore to enable your front end to show the EZSync main window, just insert EZYSNCINT.EXE as an application in your front end, and link it to a button (assuming your front end allows this). Pressing the button should then result in the EZSync client window being shown.
      2002 Honda CR-V
      Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
      Spent so far: $1105.90


      Download the NEXUS Skin for Centrafuse
      ...or even Listen to my music

      Comment


      • #4
        Originally posted by justintime
        Ric:

        I am embedding the application ezsyncint.exe to my frontend. The user guide covers this!
        OK Now I understand. EZSyncint was not part of the 1.94 release. That's why you had me confused. As I said I did not make any changes in 1.94 to support embedding. I'd forgotten I'd written ezsyncint ages ago.

        Answer - yes it could be changed, but I'm not developing at the moment so I can't give you a time for when you'd get it.

        However, what I can do is post the source code for it. It really is a very small program. Therefore if anyone wants to write a version that launches EZSync first, they should be able to do so.

        Here is the Delphi source (save it as ezsyncint.dpr):

        Code:
        program ezsyncint;
        
        uses
          Windows,
          Forms;
        
        {$R *.res}
        var
           h : hwnd;
        begin
          h := FindWindow(0, 'EZSync Client');
          if h <> 0 then
          begin
             ShowWindow(h, SW_SHOWNORMAL);
          end;
        end.
        EZSync - http://www.richmet.com/ezsync

        Comment


        • #5
          Just so you know Ric, I downloaded a recent copy (yesterday) of 1.94, and when I installed the client on my carputer, it did install the EZSyncint app. Looks like you are still 'releasing' it to the public, yet are unaware of it... just a heads up!
          2002 Honda CR-V
          Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
          Spent so far: $1105.90


          Download the NEXUS Skin for Centrafuse
          ...or even Listen to my music

          Comment


          • #6
            Originally posted by justintime
            Just so you know Ric, I downloaded a recent copy (yesterday) of 1.94, and when I installed the client on my carputer, it did install the EZSyncint app. Looks like you are still 'releasing' it to the public, yet are unaware of it... just a heads up!
            It is not a mistake that it is still being packaged. I just forgot that it ever existed. I was confused by your mention of a change in 1.94 because I didn't make any such changes for 1.94 - I wrote this app when 1.92 was first released. It should still work and should still be present. My poor memory is the only failing point

            Ric.
            EZSync - http://www.richmet.com/ezsync

            Comment


            • #7
              Ric,

              Oh, I see... I never realized this existed in 1.92. Thanks.
              2002 Honda CR-V
              Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
              Spent so far: $1105.90


              Download the NEXUS Skin for Centrafuse
              ...or even Listen to my music

              Comment


              • #8
                What do you use this for JIT? ...and do you still want it changed? From that source, it looks like all it does is bring the window named 'EZSync Client' to focus. You could do that with an Auto-It script. I'm happy to do any quick delphi work for you though. I could easily make it run the app if it is not already running. I know you know how to do that with AutoIt though

                Comment


                • #9
                  RPM: Correct... if it is not running, I would want it to launch it for me, and then bring to front.

                  I use this to embed EZSync as an embedded app in CF, so I can see progress of syncs etc. Also a way to open EZSYnc up if I close CF and relaunch (assuming you make the change as described).

                  Can you do it?
                  2002 Honda CR-V
                  Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
                  Spent so far: $1105.90


                  Download the NEXUS Skin for Centrafuse
                  ...or even Listen to my music

                  Comment


                  • #10
                    No problem, but I still don't understand why you can replace EZSyncInt.exe with an auto-it script . Anyway, here is the Delphi code assuming the program is called EZSync.exe and EZSyncInt.exe is located in the same directory. If it doesn't work just give me a full path to the EXE that should run.

                    Code:
                    program ezsyncint;
                    
                    uses
                      Windows,
                      Forms;
                    
                    {$R *.res}
                    var
                      h : hwnd;
                     begin
                      h := FindWindow(0, 'EZSync Client');
                      if (h <> 0) then
                        ShowWindow(h, SW_SHOWNORMAL)
                      else
                        WinExec('EZSync.exe', SW_SHOWNORMAL);
                     end.
                    Attached Files

                    Comment

                    Working...
                    X