Results 1 to 10 of 10

Thread: Request for 1.94 -> embedding

  1. #1
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695

    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. #2
    Variable Bitrate
    Join Date
    Jan 2005
    Location
    UK
    Posts
    265
    Quote 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.

  3. #3
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    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

  4. #4
    Variable Bitrate
    Join Date
    Jan 2005
    Location
    UK
    Posts
    265
    Quote 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.

  5. #5
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    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

  6. #6
    Variable Bitrate
    Join Date
    Jan 2005
    Location
    UK
    Posts
    265
    Quote 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.

  7. #7
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    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

  8. #8
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    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

  9. #9
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    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

  10. #10
    Banned RPM_VR4's Avatar
    Join Date
    Nov 2004
    Location
    L.A.
    Posts
    1,893
    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 Attached Files

Similar Threads

  1. Pyle > Woofers > 12" Woofers > PL1290BL
    By i3igmind in forum Car Audio
    Replies: 5
    Last Post: 11-08-2005, 06:15 PM
  2. Forum Slowness
    By Quattro in forum Mp3car Forum Suggestions/Comments
    Replies: 41
    Last Post: 10-28-2005, 06:50 PM
  3. Forum Really Slow
    By Quattro in forum Mp3car Forum Suggestions/Comments
    Replies: 58
    Last Post: 05-10-2005, 04:04 PM
  4. errors on the homepage
    By alti in forum Mp3car Forum Suggestions/Comments
    Replies: 61
    Last Post: 04-14-2005, 10:26 PM
  5. USB -> Parallel -> HD44780 LCD
    By Zip-Lock in forum General Hardware Discussion
    Replies: 5
    Last Post: 03-09-2005, 06:31 AM

Bookmarks

Posting Permissions

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